json-diff-rfc6902
Version:
This framework is to compare two JSON data and generate the Patch
27 lines • 442 B
JSON
[
{
"op": "add",
"path": "/father/1/daughters/1/sadfasdf",
"value": ""
},
{
"op": "replace",
"path": "/father/1/daughters/0/name",
"value": "Aasdfnna"
},
{
"op": "replace",
"path": "/father/1/married",
"value": false
},
{
"op": "add",
"path": "/father/1/sdf",
"value": ""
},
{
"op": "replace",
"path": "/father/0/daughters/1/name",
"value": "Michesdfgdsglle"
}
]