json_query
Extract a value from JSON text using a path like a.b[0].c or $.items[3].name. Distinguishes resolved from found and reports missing-key, out-of-range, not-an-array, or not-an-object.
Instructions
Extract a value from a JSON document by path, e.g. "a.b[0].c" or "$.items[3].name". Reports resolved (did the path reach a location) separately from found (is the value non-null), so absent is distinguishable from present-but-null. Failure types are specific: missing-key, out-of-range, not-an-array, not-an-object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The JSON document as text | |
| path | Yes | Path, e.g. "a.b[0].c" |