Apply JSON-Patches (RFC 6902) to modify JSON documents.
Apply JSON-Patches (RFC 6902)
jsonpatch$ jsonpatch document.json patch.json$ jsonpatch config.json changes.json > updated.json$ jsonpatch original.json updates.json -o result.json$ cat patch.json | jsonpatch document.json -$ jsonpatch --validate patch.json document.json