[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Asking for recommendations of xml 2 json open source projects

  • From: Jean Paoli <jeanpa@docugami.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Wed, 14 Dec 2022 19:57:38 +0000

Asking for recommendations of xml 2 json open source projects

I would love recommendations for xml 2 json open source projects.

 

At Docugami, our reference output format is xml. We want to be able to recommend an xml 2 json transform (our xml represents documents, it has mixed content and ordering is important). We are looking at http://www.jsonml.org/ and https://www.newtonsoft.com/json/help/html/ConvertingJSONandXML.htm. There are issues with both and we are trying to avoid writing our own.

 

I think we slightly prefer the newtonsoft approach because they do not generate arrays systematically. With newtonsoft, elements remain unchanged, attributes are prefixed with an @ but multiple nodes with the same name at the same level are grouped together into an array which means that ordering is changed, specially compounded when you add mixed content.  Is there an open source package that mimics newtonsoft but does not group multiples nodes with the same name and also creates say a text node for each text in the mixed content case? Or are there other approaches recommended?

 

Thank you in advance !

 

-Jean

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.