[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jean Paoli <jeanpa@d...>
  • To: Mukul Gandhi <mukulg@s...>
  • Date: Thu, 15 Dec 2022 19:03:04 +0000

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@s...>
Sent: Thursday, December 15, 2022 10:18 AM
To: Jean Paoli <jeanpa@d...>
Cc: Michael Kay <mike@s...>; XML Developers List <xml-dev@l...>
Subject: Re: Asking for recommendations of xml 2 json open source projects

 

Hi Jean,

On Thu, 15 Dec, 2022, 01:53 Jean Paoli, <jeanpa@d...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member