toFragment

Returns the URI fragment identifier representation of this pointer, as defined in RFC 6901 §6.

The result starts with #, followed by the percent-encoded pointer string. Characters that are not allowed unencoded in a URI fragment (RFC 3986 §3.5) are encoded as %XX using uppercase hex and UTF-8 byte values.

Return

The URI fragment string for this pointer.