Constructs a Ptr directly from a sequence of pre-escaped tokens.
The tokens making up the JSON Pointer.
The set of tokens that make up a JSON Pointer. These tokens are already "un-escaped" -- that is, the special sequences "~0" and "~1" have already been convered to "~" and "/", respectively.
Evaluates this JSON Pointer against an object, following the mechanism described in RFC 6901, Section 4.
The object to dereference the JSON Pointer against.
Converts a JSON Pointer back into its string representation. This function will handle converting any "~" or "/" in its tokens back into their escaped forms, as per RFC 6901, Section 3.
Parse an inputted string as a JSON Pointer. This function will handle un-escaping the special sequences "~0" and "~1", as per RFC 6901, Section 3.
The string to parse as a JSON Pointer.
Generated using TypeDoc
Ptr represents a RFC6901 JSON Pointer.