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] XML-to-JSON is in a state of disarray

> Help! I'm trapped in a XML-to-JSON design dilemma. What design approach do you recommend for generating JSON from XML? 

I do not think there is one approach that meets all requirements, e.g. generating simple JSON from simple XML, handllng complex XML including mixed content, being lossless, etc.

Therefore there will be multiple solutions optimized to different requirements, and you need to select the approach that best matches your requirements.

The solutions that produce the cleanest JSON will be vocabulary-specific - so write a stylesheet to process your particular XML document type.

Michael Kay

[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