Menu

Tree [eb9665] master /
 History

HTTPS access


File Date Author Commit
 distribution 2017-10-22 Anton Anton [5398f7] fixed issue with logging on MacOS: /var/log -> ...
 src 2017-11-11 Anton Anton [039c26] updated favicon
 .gitignore 2017-10-30 Anton Mykolaienko Anton Mykolaienko [6221b1] Added new entries to ignore
 .travis.yml 2017-10-26 Anton Anton [e0c691] fied config
 CHANGELOG.md 2017-11-11 Anton Anton [113acc] Changed version to 1.2.0
 LICENSE 2017-10-30 Anton Mykolaienko Anton Mykolaienko [f3ec1c] Added LICENSE
 README.md 2017-11-11 Anton Anton [eb9665] Updated release date for 1.2.0
 checkstyle.xml 2017-11-07 Anton Anton [4f1ab1] Checkstyle fixes
 pom.xml 2017-11-11 Anton Anton [113acc] Changed version to 1.2.0
 sonar-project.properties 2017-10-22 Anton Mykolaienko Anton Mykolaienko [9d5776] fixed project name

Read Me

Build Status Download Xml2Json Converter
Quality Gate
Dependency Status

xml2json

Simple UI and Command line tool for converting large XML-files to JSON or JSON to XML written on Java

Startup options

Application have UI written on JavaFX. Starting from 1.2.0 version Xml2Json converter supports conversion via command line in batch.
Tool supports following command line parameters:
- noGui - to indicate processing without GUI (Example: --noGui)
- sourceFolder - path to folder where source files placed (Example: --sourceFolder=C:\Temp\Input)
- destinationFolder - path to folder where converted files will be placed (Example: --destinationFolder=C:\Temp\Output)
- overwrite - to force overwrite converted files. Default: application will ask confirmation. (Example: --overwrite)

Examples:
1. Convert list of JSON-files:
java -jar xml2json-1.2.0-all.jar --noGui --sourceFolder=C:\Temp\Input \ --destinationFolder=C:\Temp\Output --pattern=*.json
2. Convert list of XML-files:
java -jar xml2json-1.2.0-all.jar --noGui --sourceFolder=C:\Temp\Input \ --destinationFolder=C:\Temp\Output --pattern=*.xml
3. Convert only one file :
java -jar xml2json-1.2.0-all.jar --noGui --sourceFolder=C:\Temp\Input \ --destinationFolder=C:\Temp\Output --pattern=someFile.xml

To start Tool with GUI just run following command:

java -jar xml2json-1.2.0-all.jar


Note: When you are starting tool in command line mode it will use all free memory which you have in your system, but if you need limit memory usage then you will need to add -Xmx=512M to your start command right after 'java':

java -Xmx=512M -jar xml2json-1.2.0-all.jar --noGui --sourceFolder=C:\Temp\Input \
--destinationFolder=C:\Temp\Output --pattern=someFile.xml

Requirements

  • Oracle JRE 1.8 update 40 or higher

Releases

Date Version Description
2017-11-12 1.2.0 Added ability to convert files by pattern in batch mode via command line
2017-06-06 1.1.0 Fix for huge memory consumption (XML to JSON)
2016-08-10 1.0.0 Initial release

Donation

You can make donation via PayPal

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.