OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] ten years later, time to repeat it?

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 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS