Command line utility to build json using nested json files.
$ npm install -g injson
You can use !include('./path-to-json/item1.json')
{
"pi": 3.141,
"happy": true,
"questions:": [
"!include('./questions/item1.json')"
],
"answer": {
"everything": 42
}
}
$ injson input.json output.json -m
-m parameter is optional and will export json as minified.