RebuildableKpaStruct
A KpaStruct that can reconstruct itself after mutation via a KpaElementFactory.
Read-only adapters implement plain KpaStruct; adapter families that support mutation (e.g. kpointer-kxs, kpointer-yamlkt) implement this interface. The mutate extension is available only on RebuildableKpaStruct receivers, so mutation cannot accidentally be applied to a read-only adapter.
Inheritors
Properties
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 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 value associated with key, or null if absent.
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.
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.