jsondiffpatch
jsondiffpatch copied to clipboard
Array diff get wrong result
Array diff get wrong result
left.json
[
{
"id": "AA"
},
{
"id": "BB"
},
{
"id": "CC",
"relation": {
"A": "11",
"B": "22"
}
}
]
right.json
[
{
"id": "CC",
"relation": {
"B": "22"
}
}
]
If I swap the data on both sides, the results are as expected.