Skip to main content
DevTools24

Comparateur JSON

Comparez deux objets JSON et mettez en évidence les différences.

Click "Compare JSON" to see differences
Added
Removed
Changed

JSON Diff - Détails techniques

JSON diff performs a deep comparison of two JSON structures, checking each property recursively. Unlike text diff, it understands JSON semantics - property order doesn't matter, and nested objects are compared properly. Useful for API response comparison and configuration changes.

Alternative en ligne de commande

# JSON diff with jq\njq -n --slurpfile a old.json --slurpfile b new.json '$a[0] != $b[0]'\n\n# With Python\nimport json\njson.load(open('a.json')) == json.load(open('b.json'))