parse_pointer
def parse_pointer(pointer: String) -> List[String] The reference tokens of a JSON Pointer, unescaped.
- Args
pointer: A JSON Pointer. The empty string names the whole document and yields no tokens; anything else must begin with a solidus.
Raises Error: If the pointer does not begin with a solidus, or a ~
is followed by anything other than 0 or 1.