Scoop API

scoop:scoop.core:0.1.0

ValueDecoder

interface ValueDecoder

source · line 4
public
public interface ValueDecoder<T>

A format-independent decoding strategy for T, usable explicitly or through a type companion.

function decode

source · line 9
public
public fun decode(decoder: Decoder): T

Reads one value from the supplied format backend, reporting incompatible input as a decoding failure.