interface Decoder
source · line 16public
public interface Decoder
A format backend positioned at one value. Select a keyed record, unkeyed sequence, or single scalar container according to the value's representation.
function keyed
source · line 24public
public fun keyed(): KeyedDecodingContainer
Selects the named-field record container at this value.
function unkeyed
source · line 28public
public fun unkeyed(): UnkeyedDecodingContainer
Selects the ordered sequence container at this value.
function singleValue
source · line 32public
public fun singleValue(): SingleValueDecodingContainer
Selects the scalar or null container at this value.
property path
source · line 20public
public val path: String
get: public read-only
The backend-defined diagnostic path of the current value.