Extract a nested value from JSON with dot notation or bracket indexes.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The query is tokenized into dot-separated names and numeric or quoted bracket segments, then each segment is followed through objects or arrays using own-property checks. The selected value is serialized as JSON and its type is reported.
{"user":{"name":"Alice","address":{"city":"Portland","zip":"97201"}}}
{
"user": {
"name": "Alice",
"address": {
"city": "Portland",
"zip": "97201"
}
}
}
API fixtures, package metadata, and webhook payloads use nested path extraction.