Expand description
Minimal dotted/indexed path language for JSONL field extraction.
Grammar:
path := segment+
segment := ('.' ident) | ('[' digits ']')
ident := [A-Za-z_][A-Za-z0-9_]*The grammar is deliberately small — no wildcards, no filters, no quoted
keys. It is just enough to address a field inside a typical JSONL record
(e.g. .msg, .steps[0].text). Anything more expressive than this is out
of scope for the v1 --json flag.
Enums§
Functions§
- extract
- Walk a JSON
Valuealong the givenpath. ReturnsNoneif any segment misses (wrong type, missing key, out-of-bounds index). - parse_
path - Parse a dotted/indexed path expression into a list of segments.