UTILITIES NEWBIE

JSON value comparison

Find data changes between two JSON documents without treating indentation or object-key order as a change.

Source

0 characters

Import a local UTF-8 file
Print and optional local draft

An explicit save stores only source text as plaintext in this browser on this device. Do not save secrets or use a shared device. Nothing is saved or loaded automatically.

No draft has been loaded.

Report

Worked input and output

Input

{"price":10}

Second input

{"price":12}

Output

[
  {
    "path": "/price",
    "kind": "changed",
    "before": 10,
    "after": 12
  }
]

The value at /price changed from 10 to 12. Reordering object properties alone would not produce a difference; reordering an array can.