Simple command line utility for merging JSON files.
npm install dotsunited-merge-json -gMerge JSON files provided as arguments:
dotsunited-merge-json file1.json file2.json > merged.jsonMerge 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 .Copyright (c) 2015-2016 Dots United GmbH. Released under the MIT license.