from
Creates a JsonPointer from a string representation.
Return
A JsonPointer instance representing the parsed path.
Parameters
path
The path string, which must be empty or start with '/'. Per RFC 6901, segments are encoded (~0 for ~, ~1 for /).
Throws
if the path does not start with '/' (unless empty).