path

fun path(expression: String): PathRef

The path written as an expression, in the catalog's grammar: $.user.name, $.tags[*].

Throws

with the offending position, including for a numeric index — $.items[0] is not a path a catalog or an index knows, because an array collapses to [*].


The path, already parsed.