UNPKG

json-diff-rfc6902

Version:

This framework is to compare two JSON data and generate the Patch

22 lines 252 B
[ { "op": "replace", "path": "/3", "value": { "f1": "m", "f2": "n" } }, { "op": "remove", "path": "/5" }, { "op": "replace", "path": "/5", "value": { "f1": "g", "f2": "h" } } ]