Packagenet.flashmog
Classpublic class SerializerJSON

The SerializerAMF3 Class implements the Serializer interface, thereby implementing a serialize method and an unserialize method for converting data objects to a series of bytes in AMF3 format and back. This class is really just a wrapper around built-in flash functionality.



Public Properties
 PropertyDefined by
  version : String = "0.3.1"
Just specifies a version
SerializerJSON
Public Methods
 MethodDefined by
  
serialize(data:*):ByteArray
[static] The serialize function accepts any data argument and returns a ByteArray
SerializerJSON
  
unserialize(serializedData:ByteArray):*
[static] The unserialize function accepts a ByteArray and unserializes it back into whatever data type was originally serialized.
SerializerJSON
Property detail
versionproperty
public var version:String = "0.3.1"

Just specifies a version

Method detail
serialize()method
public static function serialize(data:*):ByteArray

The serialize function accepts any data argument and returns a ByteArray

Parameters
data:* — The data to be serialized

Returns
ByteArray — ByteArray
unserialize()method 
public static function unserialize(serializedData:ByteArray):*

The unserialize function accepts a ByteArray and unserializes it back into whatever data type was originally serialized.

Parameters
serializedData:ByteArray — serializedData The data to be unserialized

Returns
*