TomlDecoder

interface TomlDecoder : Decoder(source)

A special Decoder used internally by the decoding process, providing an extra decodeTomlElement to decode TomlElement from current position.

Properties

Link copied to clipboard
abstract val serializersModule: SerializersModule
Link copied to clipboard
abstract val toml: Toml

The Toml instance used to create this decoder.

Functions

Link copied to clipboard
fun Decoder.asTomlDecoder(): TomlDecoder

More convenient means to cast this Decoder to TomlDecoder.

Link copied to clipboard
abstract fun beginStructure(descriptor: SerialDescriptor): CompositeDecoder
Link copied to clipboard
abstract fun decodeBoolean(): Boolean
Link copied to clipboard
abstract fun decodeByte(): Byte
Link copied to clipboard
abstract fun decodeChar(): Char
Link copied to clipboard
abstract fun decodeDouble(): Double
Link copied to clipboard
abstract fun decodeEnum(enumDescriptor: SerialDescriptor): Int
Link copied to clipboard
abstract fun decodeFloat(): Float
Link copied to clipboard
abstract fun decodeInline(descriptor: SerialDescriptor): Decoder
Link copied to clipboard
abstract fun decodeInt(): Int
Link copied to clipboard
abstract fun decodeLong(): Long
Link copied to clipboard
abstract fun decodeNotNullMark(): Boolean
Link copied to clipboard
abstract fun decodeNull(): Nothing?
Link copied to clipboard
open fun <T : Any> decodeNullableSerializableValue(deserializer: DeserializationStrategy<T?>): T?
Link copied to clipboard
open fun <T> decodeSerializableValue(deserializer: DeserializationStrategy<T>): T
Link copied to clipboard
abstract fun decodeShort(): Short
Link copied to clipboard
abstract fun decodeString(): String
Link copied to clipboard

Decodes TomlElement from current position.