Packagecom.adobe.serialization.json
Classpublic class JSONDecoder
InheritanceJSONDecoder Inheritance Object



Public Methods
 MethodDefined By
  
JSONDecoder(s:String, strict:Boolean)
Constructs a new JSONDecoder to parse a JSON string into a native object.
JSONDecoder
  
Gets the internal object that was created by parsing the JSON string passed to the constructor.
JSONDecoder
Constructor Detail
JSONDecoder()Constructor
public function JSONDecoder(s:String, strict:Boolean)

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9.0

Constructs a new JSONDecoder to parse a JSON string into a native object.

Parameters
s:String — The JSON string to be converted into a native object
 
strict:Boolean — Flag indicating if the JSON string needs to strictly match the JSON standard or not.
Method Detail
getValue()method
public function getValue():*

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9.0

Gets the internal object that was created by parsing the JSON string passed to the constructor.

Returns
* — The internal object representation of the JSON string that was passed to the constructor