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] Best options for converting JSON to XML

You may be interested in this paper which covers in some detail many of the issues of converting between JSON and XML.


The simple answer is that there are *many* techniques and tools for converting between JSON and XML, but none of them are perfect or fit all desires.
You need to decide what aspects of conversion are important to your application.
You can then search the web for various tools and/or libraries to help.
The tool mentioned in the above paper is available but is only as a POC so I dont recommend it.
xmlsh has  a very primitive JSON to XML conversion 


This style of conversion is quite easy to do in nearly any language that supports both XML and JSON.
What's hard is to come up with a conversion which produces XML that an XML person would like to read and JSON that a JSON person would like to read simultaneously.

David A. Lee

-----Original Message-----
From: Ihe Onwuka [mailto:ihe.onwuka@gmail.com] 
Sent: Saturday, November 09, 2013 11:26 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] Best options for converting JSON to XML

I am considering alternatives to JSON Schema for validating JSON so
the natural idea is to convert to XML and use some sort of schema.

I'd be grateful for thoughts on the advisability of this type of
thinking in the first place and suggestions for converting the JSON to



XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[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