UNPKG

json-diff-rfc6902

Version:

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

40 lines 484 B
[ { "op": "replace", "path": "", "value": [ { "f1": 0, "f2": 1 }, { "f1": 2, "f2": 3 }, { "f1": "a", "f2": "b" }, { "f1": "m", "f2": "n" }, { "f1": "e", "f2": "f" }, { "f1": "g", "f2": "h" }, { "f1": 4, "f2": 5 }, { "f1": 6, "f2": 7 } ] } ]