Skip to content
UniKit

JSON Missing Field Finder

Compare two JSON objects (source and target) and list the dotted paths that target is missing. Values are never compared and arrays are not walked; parsing stays in your browser.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

JSON pair to compare

source is the reference structure, target is the structure to check; the output lists paths present in source but missing from target, one per line.

Missing fields

Only key presence is compared, never values. Extra keys in target are ignored and arrays inside source are not walked.

Paste JSON with source / target to see the missing fields

What this tool does

  • Compare the old and new API response shapes after a refactor to confirm which fields disappeared
  • Check whether a target config template forgot any field from the reference template

Example

Input

{"source":{"user":{"name":"Ada","age":37}},"target":{"user":{"name":"Bob"}}}

Output

user.age

Only paths missing from target are listed; differing values are not reported.

Frequently asked questions

Are fields or values compared?

Only key presence. {"a":1} and {"a":"x"} are considered identical, because both have the key a.

Are extra keys in target reported?

No. The walk is driven by source, so only keys present in source but absent from target are listed. Once a parent key is missing, only the parent path is reported and its children are not listed. Swap source and target to check the other direction.

Are arrays compared recursively?

No. Arrays inside source are treated as leaf values and skipped, so missing fields inside array items are not reported. When the matching key in target is null or an empty array it is not reported itself, but since it cannot be walked, its children count as missing.

What is the output format?

One dotted path per line (for example user.age), depth-first in source key order. The output is empty when nothing is missing.

Keywords:json missing fieldscompare json keys

Related tools