home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / adobe / serialization / json / JSON.as next >
Encoding:
Text File  |  2010-06-23  |  509 b   |  24 lines

  1. package com.adobe.serialization.json
  2. {
  3.    public class JSON
  4.    {
  5.       public function JSON()
  6.       {
  7.          super();
  8.       }
  9.       
  10.       public static function decode(param1:String) : *
  11.       {
  12.          var _loc2_:JSONDecoder = new JSONDecoder(param1);
  13.          return _loc2_.getValue();
  14.       }
  15.       
  16.       public static function encode(param1:Object) : String
  17.       {
  18.          var _loc2_:JSONEncoder = new JSONEncoder(param1);
  19.          return _loc2_.getString();
  20.       }
  21.    }
  22. }
  23.  
  24.