
[1, 2] and [2, 1] should count as equal, for example lists of tags or IDs.Original {"name": "An", "age": 30} and modified {"age": 31, "name": "An", "city": "HN"} give two differences: $.age changed from 30 to 31, and $.city added. The different key order is not a difference.
Does key order matter? No. Objects are compared key by key, and the side-by-side view sorts keys so that only real changes are highlighted.
Why are 1 and "1" different? A number and a string are different JSON types, so the change is reported.
What if my JSON is invalid? The error is shown under the box with its line and column, and no result is shown until both documents are valid.
Is my data uploaded? No. Both documents are compared in your browser.