Package-level declarations

Types

Link copied to clipboard

A dot-notation pointer string produced an empty segment (a trailing dot, consecutive dots, or leading double dots).

Link copied to clipboard

A URI fragment pointer string contained a truncated or otherwise invalid %XX percent-encoding sequence.

Link copied to clipboard

A URI fragment pointer string did not start with #.

Link copied to clipboard
value class KPointer

Represents a JSON Pointer as defined in RFC 6901.

Link copied to clipboard

Base type for every failure kPointer raises while parsing a pointer string or applying a Relative JSON Pointer.

Link copied to clipboard

A strict RFC 6901 pointer string did not start with / (and was not the empty string).

Link copied to clipboard

A Relative JSON Pointer applied an index adjustment (+N/-N) to a segment that is not a non-negative integer.

Link copied to clipboard

A Relative JSON Pointer applied an index adjustment (+N/-N) when the traversed pointer was the root.

Link copied to clipboard

A Relative JSON Pointer used the # suffix when the resolved pointer was the root.

Link copied to clipboard

A Relative JSON Pointer requested more levels up than the base pointer's depth.

Link copied to clipboard

A Relative JSON Pointer string was syntactically malformed (empty, no leading non-negative integer, a leading-zero number, a malformed index adjustment, or unexpected trailing characters).

Link copied to clipboard

A Relative JSON Pointer index adjustment (+N/-N) produced a negative index.

Link copied to clipboard
sealed interface RelativePointerResult

The result of applying a Relative JSON Pointer (see KPointer.plus).

Functions

Link copied to clipboard

Maps this core parse/relative failure to its canonical, language-neutral errorKind string.