Package-level declarations
Types
Marker interface for KpaElement adapters that wrap a native backing element of type B.
Marker for every failure the adapter raises while resolving a pointer against, or mutating, a document.
Common parent of every value type the JSON-Pointer abstraction can address.
Factory of KpaElement values for a particular backing representation.
Read-only view of a list-shaped structure addressable by integer indices.
DSL scope for applying pointer-based mutations to a KpaList.
DslMarker for KpaStructMutationScope and KpaListMutationScope.
Represents a leaf value (string, number, boolean, or null) in an adapter-neutral way.
Read-only view of an object-shaped structure addressable by string keys.
DSL scope for applying pointer-based mutations to a KpaStruct.
A mutation used the append token - where it is not permitted (an intermediate position, or a removal).
A mutation used a segment that is not a non-negative integer to address a list.
A mutation used a non-negative integer list index that is out of range for the target list.
A remove mutation targeted a struct key that is not present.
A mutation targeted the root pointer, which cannot be set or removed.
A mutation navigated into an intermediate segment that is absent or a primitive, so it is not a container.
A KpaList that can reconstruct itself after mutation via a KpaElementFactory.
A KpaStruct that can reconstruct itself after mutation via a KpaElementFactory.
Resolution used a segment that is not a non-negative integer to address a list.
Resolution navigated through a primitive intermediate value (a string, number, boolean, or null).
Trivial implementation of KpaElementFactory creating SimplePrimitive, SimpleStruct, and SimpleList instances.
Trivial implementation of RebuildableKpaList backed by an ImmutableList.
Trivial implementation of KpaPrimitive wrapping a plain value.
Trivial implementation of RebuildableKpaStruct backed by an ImmutableMap.
Abstract base class for KpaPrimitive implementations that always represent a plain string value.
Functions
Returns the boolean value at pointer, or null if the path is absent or the value is not a boolean primitive.
Parses path via KPointer.from and returns the boolean value at that path, or null if absent or not a boolean.
Returns the canonical error-kind string for this KpaAccessError, as used in conformance fixture JSON files.
Returns the numeric value as Double at pointer, or null if the path is absent or the value is not a numeric primitive.
Parses path via KPointer.from and returns the numeric value as Double at that path, or null if absent or not numeric.
Returns the KpaElement at the path identified by pointer, or null if the index is out of range — an absent element, consistent with KpaStruct.get returning null for an absent key.
Returns the KpaElement at the path identified by pointer, or null if a key along the path is absent. Returns the receiver if pointer is the root pointer.
Parses path via KPointer.from and returns the KpaList at that path, or null if absent or not a list.
Returns the numeric value as Long at pointer, or null if the path is absent, the value is not a numeric primitive, or the value has a fractional component.
Parses path via KPointer.from and returns the numeric value as Long at that path, or null if absent, not numeric, or has a fractional component.
Returns the KpaPrimitive at pointer, or null if the path is absent or the value is not a primitive.
Parses path via KPointer.from and returns the KpaPrimitive at that path, or null if absent or not a primitive.
Unwraps this KpaElement to its native backing value of type B, or throws if this element is not a BackedKpaElement whose backing is of type B.
Returns the string value at pointer, or null if the path is absent or the value is not a string primitive.
Parses path via KPointer.from and returns the string value at that path, or null if absent or not a string.
Parses path via KPointer.from and returns the KpaStruct at that path, or null if absent or not a struct.