XML to JSON

Here should go questions about transforming XML with XSLT and FOP.
Garrett_3
Posts: 11
Joined: Fri Feb 12, 2021 8:46 pm

XML to JSON

Post by Garrett_3 »

Hello,

I've been using Oxygen's XML to JSON tool under Tools>JSON Tools. Is the XSL that drives this tool located somewhere in the Program Files? I'd like to be able to create a transformation scenario with that XSL instead of having to navigate via multiple dropdowns, menus, and file selections.

Thanks,
Garrett
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML to JSON

Post by Radu »

Hi Garrett,

Actually we are not using XSLT for the XML to JSON conversion, we are using code based on this open source Java project: https://github.com/stleary/JSON-java
We also have a batch converter add-on which uses the same functionality to convert one or multiple XML files to JSON:
https://www.oxygenxml.com/doc/versions/ ... addon.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Garrett_3
Posts: 11
Joined: Fri Feb 12, 2021 8:46 pm

Re: XML to JSON

Post by Garrett_3 »

Thanks Radu!

I will give these a try.

V/r,
Garrett
Post Reply