Serializer
Serializer
package haxe
Available on all platformsThe Serializer class can be used to encode values and objects into a
String
, from which theUnserializer
class can recreate the original representation.This class can be used in two ways:
- create a
new Serializer()
instance, call itsserialize()
method with any argument and finally retrieve the String representation fromtoString()
- call
Serializer.run()
to obtain the serialized representation of a single argumentSerialization is guaranteed to work for all haxe-defined classes, but may or may not work for instances of external/native classes.
The specifica