PDA

View Full Version : Quick of XML to JSON?



Ricardo gonzalez
20 Sep 2007, 9:28 AM
Is there a sort of quick XML to JSON function?

the JSON view seems pretty useful because it retrives a simple piece of information syncronously but I have to retrive this trivial piece of XML instead.

Animal
20 Sep 2007, 11:53 AM
Use a View. http://extjs.com/deploy/ext/docs/output/Ext.View.html

That takes its data from a Store or Records.

You load a Store through a DataReader implementation, so you can use an XmlReader.