FleXMLer is an XML serialization / deserialization utility. By default it uses reflection for out-of-the-box serialization, but it’s possible to tweek the default serialization by using annotations. For example, developer can indicate that a certain field should not be serialized, should be serialized using a specific element name, or should be serialized as an XML attribute.
The lib also allows the specification of serialization information programmatically at runtime instead of using reflection and annotations. Among those options are name aliasing, default values, skipping and more. The basic serialization supports all primitive types, and has special treatment for arrays, generic object hash tables and nested objects.
Sample
// serialize object to XML var xml:XML = new FleXMLer().serialize(obj); // deserialize XML to Object var obj:MyType = new FleXMLer().deserialize(xmlobject[, MyType]);
RT @as3gamegears: New: FleXMLer (XML serialization/deserialization lib) http://t.co/60uHujqJio #as3 #flash #gamedev
Jakub Wagner liked this on Facebook.
Tarkan Kürşad liked this on Facebook.
@as3gamegears @chgarreau perfect timing, I’m just kicking off a Flex project that gets fed XML.