json-merge-patch-cli
v1.0.2
Published
Small command-line utility to merge JSON files
Downloads
4
Readme
json-merge-patch
Merges two JSON files together.
Example:
// Patch
{
"foo": "PATCH FOO",
"bar": "baz",
"biff": null
}
// Source i.e. target
{
"foo": "foo",
"biff": "bones"
}
json-merge-patch -p patch.json -s source.json
// Result
{
"foo": "PATCH FOO",
"bar": "baz"
}
Works deeply. YMMV with arrays. Great for merging bower.json
TBA: support for json-merge-patch library's other commands.