node.js Setup
- Install node.js if it's not already on your system
- Install the Hjson tool by running
npm install hjson -gon the command line
Usage
hjson FILELoads a
.json(or.hjson) file and outputs it as Hjson.E.g.
hjson config.json > config.hjsonhjson -j FILEWill convert an Hjson file to JSON.
E.g.
hjson -j config.hjson > config.json.