Accepts a path array and converts to a normalized path string.
The string will be in a form like:
$['aProperty']['anotherProperty][0]
.
The JSONPath terminal constructions ~
and ^
and type operators
like @string()
are silently stripped.
Accepts a path array and converts to a JSON Pointer.
The string will be in a form like: /aProperty/anotherProperty/0
(with any ~
and /
internal characters escaped as per the JSON
Pointer spec).
The JSONPath terminal constructions ~
and ^
and type operators
like @string()
are silently stripped.
Exposes the cache object for those who wish to preserve and reuse it for optimization purposes.