Dev / JSON
JSON Path.
A lightweight alternative to full JSONPath — supports dot notation, bracket indices, and [*] wildcards over arrays.
—
Path syntax
Paths start with $ (root). Use dots for object keys and [n] for array indices. [*] maps over every array element. For full JSONPath (filters, recursion), reach for jq on the CLI.
Further reading: why LLM output breaks JSON parsers.