JSON observed-shape summary
Inspect path types and occurrence counts across a nested JSON document.
A clear answer. Here’s how.
Aggregates observed value types and counts by path, replacing concrete array indices with *. Object keys retain JSON Pointer escaping. A literal object key * shares that displayed wildcard spelling and is not a unique schema address. This is a descriptive inventory of the supplied values, not JSON Schema validation, required-field inference or proof that future records share the same shape.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- JSON document
- {"name":"Ada","items":[{"id":9007199254740993,"active":true},{"id":2,"active":false}],"settings":{"theme":"blue"}}
Example result
| Shape path (* = any array index) | Observed types | Value occurrences |
|---|---|---|
| object | 1 | |
| /name | string | 1 |
| /items | array | 1 |
| /items/* | object | 2 |
| /items/*/id | number | 2 |
This is an observed shape summary, not an inferred or complete JSON Schema. A literal object key * shares the displayed wildcard spelling.