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

Creates a KPointer from a Mustache-style dot-notation path string.

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 strict RFC 6901 JSON Pointer string.