Skip to content

Switch JSON functionality to built in Groovy libraries

Compare
Choose a tag to compare
@engswee engswee released this 23 Jun 13:17
· 7 commits to master since this release

2.2.0 - Released 23 Jun 2020

i) Switch JSON parsing in JSON2XMLConverter to use built-in JsonSlurper in Groovy
ii) Switch JSON generation in XML2JSONConverter to use built-in JsonOutput in Groovy
iii) Remove dependency on org.json library
iv) Fix issue #5 - add parameter 'arrayGPathList' to XML2JSONConverter
- this enables forcing of specific nodes to a JSON Array based on GPath notation

Following Apache POI v4.1.0 related libraries required for Excel conversion:-
https://repo1.maven.org/maven2/org/apache/poi/poi/4.1.0/poi-4.1.0.jar
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml/4.1.0/poi-ooxml-4.1.0.jar
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml-schemas/4.1.0/poi-ooxml-schemas-4.1.0.jar
https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar
https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.3/commons-collections4-4.3.jar