How to compare
- Paste the old and new documents. Differences appear below as you paste.
- Under Options, list fields to skip, such as
updatedAt. A name is skipped at every level. - List items are matched by
id. You can change that field under Options.
Reading the result
Each line starts with Added, Removed or Changed, followed by the location of the value.
How arrays are matched
Items are matched by ID only when every item in both arrays is an object with a unique value for that field. Otherwise they are compared by position. When matched by ID, a change in item order is not reported.
Questions
Does object key order matter?
No.
Are very large numbers compared exactly?
Long numbers are compared as their original text in browsers that expose it. Otherwise the tool reports that it cannot compare very large numbers safely. Numbers written differently may be reported as changed.