I have been tinkering around with XML and the Flex 3 Tree component using XMLList and loading my webservice into the dataprovider of the tree.
However I am having a lot of problems formatting the XML the way I need to for it to display correctly in the tree.
Does the Flex tree support JSON? Will it handle JSON from a C# ASP.NET WebAPI call and populate the tree accordingly? Or is there some pre-data processing I will need to go through?
I have googled this topic to no avail.
It will support vanilla object with label and children properties (you can also change the configuration of the tree). However it would be better to set up classes and parse the loaded data into this model, since you can have convenience features of Flex like strong typing and data binding.