Below comparison result is wrong for json array data with different order [ { "id":"1", "x":"a" }, { "id":"2", "x":"b" } ] and [ { "id":"2", "x":"b" }, { "id":"1", "x":"a" } ]
Below comparison result is wrong for json array data with different order
[
{
"id":"1",
"x":"a"
},
{
"id":"2",
"x":"b"
}
]
and
[
{
"id":"2",
"x":"b"
},
{
"id":"1",
"x":"a"
}
]