Packagecom.adobe.serialization.json
Classpublic class JSONEncoder
InheritanceJSONEncoder Inheritance Object



Public Methods
 MethodDefined By
  
JSONEncoder(value:*)
Creates a new JSONEncoder.
JSONEncoder
  
getString():String
Gets the JSON string from the encoder.
JSONEncoder
Constructor Detail
JSONEncoder()Constructor
public function JSONEncoder(value:*)

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

Creates a new JSONEncoder.

Parameters
value:* — The object to encode as a JSON string
Method Detail
getString()method
public function getString():String

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

Gets the JSON string from the encoder.

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