UNPKG

json-diff-rfc6902

Version:

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

48 lines 588 B
[ { "op": "replace", "path": "", "value": [ { "f1": "d", "f2": 1 }, { "f1": "m", "f2": 1 }, { "f1": "f", "f2": 1 }, { "f1": "n", "f2": 1 }, { "f1": "a", "f2": 1 }, { "f1": "g", "f2": 1 }, { "f1": "d", "f2": 1 }, { "f1": "e", "f2": 1 }, { "f1": "c", "f2": 1 }, { "f1": "a", "f2": 1 } ] } ]