dotsunited-merge-json
v3.0.0
Published
Simple command line utility for merging json files.
Downloads
144
Readme
dotsunited-merge-json
Simple command line utility for merging JSON files.
Installation
npm install dotsunited-merge-json -g
Usage
Merge JSON files provided as arguments:
dotsunited-merge-json file1.json file2.json > merged.json
Merge all JSON files in the current directory:
find . -name "*.json" -exec dotsunited-merge-json > ./merged.json {} \;
Pretty-print JSON with jq:
find . -name "*.json" -print0 | xargs -0 dotsunited-merge-json | jq .
License
Copyright (c) 2015-2016 Dots United GmbH. Released under the MIT license.