Tools

API response shape diff

Compare field paths and type changes in two JSON responses in your browser, without exporting source values.

Inputs, file names, and the structure report stay in this browser. They are not uploaded or included in analytics.

Format and limits

Each input is limited to 1 MiB, 64 container levels, and 20,000 JSON value/container nodes. Strict JSON only: comments and trailing commas are rejected, as are duplicate object keys. Every loaded array element is traversed and types are combined at [*] paths; an empty array is only known to be an array, not to have element fields. null is its own type; a missing path is not a type.

Object keys are always quoted in paths, for example $["items"][*]["id"], so a key named "*" cannot collide with the array wildcard [*]. Sample inference is not complete API contract validation.

Old response (JSON)

New response (JSON)

Enable JavaScript to compare JSON structures in this browser.

Read the sample, shape snapshots, and boundaries ↗

jsonc-parser 3.3.1 · MIT