[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] ten years later, time to repeat it?
- From: John Snelson <john.snelson@oracle.com>
- To: Michael Kay <mike@saxonica.com>
- Date: Tue, 12 Feb 2008 11:25:20 +0000
Michael Kay wrote:
> Is there an accepted mapping of JSON to XML? And is there a SAX parser?
There is no accepted mapping of JSON to XML. There's a lot of people who
have made a stab at converting XML to JSON to varying degrees of
success. There are a few people who have tried to convert JSON to XML
but their methods can only handle a subset of JSON documents, or give a
mapping that is not 1-1.
I've recently been researching this, because it seems obvious that
languages like XQuery should easily be able to handle JSON processing.
I've come up with a 1-1 mapping of JSON to XML, and have been adding
extension functions to XQilla in order to translate back and forth.
I should probably write my work up to get some feedback on it.
John
--
John Snelson, Oracle Corporation http://snelson.org.uk/john
Berkeley DB XML: http://www.oracle.com/database/berkeley-db/xml
XQilla: http://xqilla.sourceforge.net
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]