Package cc.ekblad.toml.transcoding

Types

Link copied to clipboard
class TomlDecoder
Link copied to clipboard
class TomlEncoder

Functions

Link copied to clipboard
fun <T> TomlDecoder.decode(value: TomlValue, target: KType): T

Decode the given value into the given target type. Behavior is undefined if T is not equal to or a superclass of target.

Link copied to clipboard
fun TomlEncoder.encode(value: Any): TomlValue

Encode the given value using the receiver encoder.