Module Standards.JSONPath

Description

Parser and evaluator of the RFC 9335 JSONPath syntax.

Note

Syntax is extended with it being possible to specify a literal JSON constant as a root by prefixing it with a single '%'.

See also

RFC 9535


Typedef Selector

local protected typedef int|string|Expression Standards.JSONPath.Selector

Description

Type for selectors.

int|string

Integers and strings are short hand for indexing the current json_value(s) with the same.

Expression

Expression()->apply() is called and its return value becomes the new json_value(s).