UNPKG

json-diff-rfc6902

Version:

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

48 lines 578 B
[ { "op": "replace", "path": "", "value": [ { "f1": 0, "f2": 1 }, { "f1": 2, "f2": 3 }, { "f1": 4, "f2": 5 }, { "f1": 6, "f2": 3 }, { "f1": "q", "f2": 3 }, { "f1": "q", "f2": 3 }, { "f1": 0, "f2": 1 }, { "f1": "p", "f2": 1 }, { "f1": "q", "f2": 3 }, { "f1": "m", "f2": 5 } ] } ]