TomlDecoder

Functions

Link copied to clipboard
fun pass(): Nothing

Called by a decoder function to indicate that it can't decode the given TOML into its target type and that the next decoder function for the target type should be given a chance instead.

Extensions

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.