Scoop API

scoop:scoop.core:0.1.0

SingleValueDecodingContainer

interface SingleValueDecodingContainer

source · line 79
public
public interface SingleValueDecodingContainer

The format backend's scalar and explicit-null operations. Supported representations and conversion errors belong to the backend.

function readDouble

source · line 103
public
public fun readDouble(): Double

Reads one Double scalar using the backend's representation rules.

function readFloat

source · line 99
public
public fun readFloat(): Float

Reads one Float scalar using the backend's representation rules.

function readLong

source · line 91
public
public fun readLong(): Long

Reads one Long scalar using the backend's representation rules.

function readString

source · line 107
public
public fun readString(): String

Reads one String scalar using the backend's representation rules.

function readBoolean

source · line 87
public
public fun readBoolean(): Boolean

Reads one Boolean scalar using the backend's representation rules.

function isNull

source · line 83
public
public fun isNull(): Boolean

Tests whether the current scalar represents explicit null.

function readULong

source · line 95
public
public fun readULong(): ULong

Reads one ULong scalar using the backend's representation rules.