json-diff-rfc6902
Version:
This framework is to compare two JSON data and generate the Patch
46 lines (45 loc) • 555 B
JSON
{
"father": [
{
"id": 1,
"married": true,
"name": "Daniel Martin",
"sons": null,
"daughters": [
{
"age": 8,
"name": "Anthony"
},
{
"age": 20,
"name": "Michelle"
},
{
"age": 9,
"name": "Timothy"
}
]
},
{
"id": 2,
"married": true,
"name": "Ronald Martin",
"sons": null,
"daughters": [
{
"age": 30,
"name": "Anna"
},
{
"age": 5,
"name": "Nancy"
},
{
"age": 6,
"name": "Carol"
}
]
}
],
"string": "***"
}