XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] Asking for recommendations of xml 2 json open sourceprojects

Thank you so much Mukul. Very helpful!

 

Java (or any other language) is not a constraint as long as the code is open source because I am trying to understand the different approaches and get some recommendations.

 

https://stleary.github.io/JSON-java/index.html writes: The  Sequences of similar elements are represented as JSONArrays. Content text may be placed in a "content" member. …So very similar to newtonsoft.

 

I am still trying to understand what https://github.com/FasterXML/jackson-dataformat-xml/issues/402 does....

 

-Jean

 

From: Mukul Gandhi <mukulg@softwarebytes.org>
Sent: Thursday, December 15, 2022 10:18 AM
To: Jean Paoli <jeanpa@docugami.com>
Cc: Michael Kay <mike@saxonica.com>; XML Developers List <xml-dev@lists.xml.org>
Subject: Re: [xml-dev] Asking for recommendations of xml 2 json open source projects

 

Hi Jean,

On Thu, 15 Dec, 2022, 01:53 Jean Paoli, <jeanpa@docugami.com> wrote:

Agree Michael. However, I am trying to understand the current state of xml 2 json systematic transforms as open source. I did not look since a long time…

I've found following to be good,

 

1) https://stleary.github.io/JSON-java/org/json/XML.html  (using org.json Java library)

 

2) https://www.baeldung.com/jackson-convert-xml-json (using Jackson Java library)

 

I haven't tested these Java libraries, for XML mixed content to Json conversion (you may, feed XML mixed content data to these libraries, and see what Json documents they emit and see if that succeeds and suites you).

 

But otherwise, these libraries are good for, other kinds of XML information.

 

Also, these libraries are writting for Java applications. I'm not sure, if that could be a constraint for your work.

 

 

--

Regards,

Mukul Gandhi 

 



[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