Serializer

class haxe.SerializerAvailable in flash8, flash, 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 #13420, modified 2012-04-12 22:30:06 by api

0 Comments