primitiveAt
Returns the JsonPrimitive at pointer, or null if the path is absent.
Accepts kotlinx.serialization.json.JsonNull, which is a JsonPrimitive.
Return
The JsonPrimitive at the specified path, or null if absent.
Parameters
pointer
The KPointer identifying the value to retrieve.
Throws
if the value at pointer exists but is not a JsonPrimitive.
Parses path via KPointer.from and returns the JsonPrimitive at that path, or null if absent.
Return
The JsonPrimitive at the specified path, or null if absent.
Parameters
path
A pointer string (RFC 6901, fragment, or dot-notation, dispatched by prefix).