Serializer

You are viewing an old version of this entry, click here to see latest version.
class haxe.SerializerAvailable in flash, flash9, neko, js, php, cpp var useCache : Bool var useEnumIndex : Bool function new() : Void function serialize( v : Dynamic ) : Void function serializeException( e : Dynamic ) : Void function toString() : String static var USE_CACHE : BoolIf the values you are serializing can contain circular references or objects repetitions, you should set USE_CACHE to true to prevent infinite loops. static var USE_ENUM_INDEX : BoolUse constructor indexes for enums instead of names. This is less reliable but more compact. static function run( v : Dynamic ) : StringSerialize a single value and return the string.
version #6527, modified 2009-07-26 17:46:17 by api
0 comment