Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 501 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 501 Bytes

jsonhocon

An extreme simple converter to convert Json File to Hocon File, or vice versa.

Build

Require JDK 8 and Maven.

Run:

mvn package

Usage

Download the jar file and run the following command:

Json to Hocon

java -cp json-hocon.jar net.shiue.HoconJsonConverter HOCON "path/to/source.json" "path/to/dest.conf" 

Hocon to Json

java -cp json-hocon.jar net.shiue.HoconJsonConverter JSON "path/to/source.conf" "path/to/dest.json" 

License

MIT