Companion

Companion object for creating KPointer instances and providing constants.

Properties

Link copied to clipboard

The root pointer, representing the entire JSON document.

Functions

Link copied to clipboard
fun from(path: String): KPointer

Convenience parser that delegates to the encoding-specific factory matching path's prefix:

Link copied to clipboard
fun fromFragment(fragment: String): KPointer

Creates a KPointer from a URI fragment identifier as defined in RFC 6901 §6.

Link copied to clipboard

Creates a KPointer from a JavaScript access path string: the static member-access subset of JavaScript syntax used by APIs such as Vega-Lite's encoding.*.field (dot segments, quoted-bracket segments, and numeric-bracket segments, with backslash escaping).

Link copied to clipboard

Creates a KPointer from a strict RFC 6901 JSON Pointer string.