File | Date | Author | Commit |
---|---|---|---|
distribution | 2017-10-22 |
![]() |
[5398f7] fixed issue with logging on MacOS: /var/log -> ... |
src | 2017-11-11 |
![]() |
[039c26] updated favicon |
.gitignore | 2017-10-30 |
![]() |
[6221b1] Added new entries to ignore |
.travis.yml | 2017-10-26 |
![]() |
[e0c691] fied config |
CHANGELOG.md | 2017-11-11 |
![]() |
[113acc] Changed version to 1.2.0 |
LICENSE | 2017-10-30 |
![]() |
[f3ec1c] Added LICENSE |
README.md | 2017-11-11 |
![]() |
[eb9665] Updated release date for 1.2.0 |
checkstyle.xml | 2017-11-07 |
![]() |
[4f1ab1] Checkstyle fixes |
pom.xml | 2017-11-11 |
![]() |
[113acc] Changed version to 1.2.0 |
sonar-project.properties | 2017-10-22 |
![]() |
[9d5776] fixed project name |
Simple UI and Command line tool for converting large XML-files to JSON or JSON to XML written on Java
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
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 |
You can make donation via PayPal