views:

104

answers:

1

Has any work been done to provide round trip from xml to json and back again?

If so, does anyone have some practical advice for doing this?

I understand that you'd probably have to limit the complexity of the schema and json structure, but what's the cost on both sides? And is is too prohibitive.

+2  A: 

See this article for a good writeup on some ways it can be done: Converting Between XML and JSON

Paul Dixon
Woah, that's nasty. Who knew there were so many gotchas. +1 for the information.
Allain Lalonde