UNPKG

json-diff-rfc6902

Version:

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

44 lines 536 B
[ { "op": "replace", "path": "", "value": [ { "f1": "c", "f2": 1 }, { "f1": "m", "f2": 1 }, { "f1": "d", "f2": 1 }, { "f1": "a", "f2": 1 }, { "f1": "q", "f2": 1 }, { "f1": "c", "f2": 1 }, { "f1": "c", "f2": 1 }, { "f1": "n", "f2": 1 }, { "f1": "b", "f2": 1 } ] } ]