Set comparison direction
Original is the starting document and Modified is the later one. Swap exchanges them.
Compare two JSON documents by structure and inspect the differences in Three.js.
How to use
Enter the original JSON document in the left panel.
Enter the modified JSON document in the right panel.
See additions, deletions, and changes highlighted with colors.
The guide
Paste the original and modified JSON, then select Compare. The tree shows added, removed, changed and unchanged entries, while the totals count specific changes. Use the Three.js comparison to see a source excerpt alongside the summary.
A concrete input and expected output from the current implementation.
Input
Compare {"row":{"total":10},"gone":1} with {"row":{"total":12},"new":null}. Expected output
The totals show one addition, one removal, and one change. Expand row to see total change from 10 to 12.
An object branch groups its nested entries. Its changed leaf contributes to the total once.
Original is the starting document and Modified is the later one. Swap exchanges them.
The tree matches object members by name and array entries by position. Use Expand All, Collapse All or a branch button to control the view.
The text report gives counts, paths and before-and-after values. Keys containing punctuation appear in quoted brackets to distinguish their exact names.
The tool matches keys by name, so reordering the same object members leaves their entries unchanged.
Yes. The root row reports changes between JSON values such as null and false.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Sent. Thank you.