UNPKG

json-diff-rfc6902

Version:

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

36 lines 432 B
[ { "op": "replace", "path": "", "value": [ { "f1": "d", "f2": 4 }, { "f1": "c", "f2": 3 }, { "f1": "a", "f2": 1 }, { "f1": "f", "f2": 6 }, { "f1": "m", "f2": 3 }, { "f1": "c", "f2": 3 }, { "f1": "h", "f2": 5 } ] } ]