JSON or NDJSON · paste, drop or open a file
loaded (kept out of the text box so the page stays quick).
Tree
JS
JSONPath
jq
Use
Query syntax
jq or JSONPath style, mixed freely: .a.b $.a.b .["first name"] $['a.b'] [0] [-1] [1:3] [0,2] [*] [] ..key $..*.
Filters: [?(@.age > 30)] or | select(.age > 30), with == != < <= > >=, =~ /regex/i, && || ! (or and or not).
Pipe into length, keys, values, first, last, sort, unique, add, flatten, type; wrap in [ … ] to collect. Missing keys give no result.
Most common keys
Delimiter
Arrays
Delimiter
Indent
Interfaces inferred from every sample: array items are merged, keys missing somewhere become optional.
JSON Schema draft 2020-12, inferred from the data.