home *** CD-ROM | disk | FTP | other *** search
- package it.gotoandplay.smartfoxserver.json
- {
- public class JSON
- {
-
-
- public function JSON()
- {
- super();
- }
-
- public static function decode(param1:String) : Object
- {
- var _loc2_:JSONDecoder = null;
- _loc2_ = new JSONDecoder(param1);
- return _loc2_.getObject();
- }
-
- public static function encode(param1:Object) : String
- {
- var _loc2_:JSONEncoder = null;
- _loc2_ = new JSONEncoder(param1);
- return _loc2_.getString();
- }
- }
- }
-