Packagefeathers.extensions.tree
Classpublic class TreeUtil
InheritanceTreeUtil Inheritance Object

The TreeUtil class is an all-static class with methods for working with Tree control.

See also

How to use Tree with mxml


Public Methods
 MethodDefined By
  
jsonToXml(json:Object):XML
[static] Convert a JSON (dataProvider Tree format) in a XML Object (Tree format).
TreeUtil
  
xmlToJson(xml:XML):Object
[static] Convert a XML Object (Tree format) in a JSON (dataProvider Tree format).
TreeUtil
Method Detail
jsonToXml()method
public static function jsonToXml(json:Object):XML

Convert a JSON (dataProvider Tree format) in a XML Object (Tree format).

Parameters

json:Object — a JSON Object

Returns
XML
xmlToJson()method 
public static function xmlToJson(xml:XML):Object

Convert a XML Object (Tree format) in a JSON (dataProvider Tree format).

Parameters

xml:XML — a XML Object

Returns
Object