jQuery JSONX is a jQuery plugin which allows simple transformation between XML and JSON.
Once I have fully documented the code I will make another release of the plugin and publish it on the jQuery plugins directory. I hope to get this done soon but in the meantime you can hopefully get a good understanding of how to use it by looking at the code.
Please check back again soon to find more information and some examples.
JSON to XML
XML to JSON
The current jQuery context will be parsed if the second argument is omitted for
The current jQuery context will be transformed into a string if the second argument is
The following ANTLR grammar represents the XML to JSON transformation;
If you have any problems with this plugin or would like to see the changes currently in development browse our issues.
Take a look at the documentation to get a better understanding of what the code is doing.
If that doesn't help, feel free to follow me on Twitter, @neocotic.