decodeFromTomlElement

inline fun <T> Toml.decodeFromTomlElement(element: TomlElement): T(source)

Deserializes element into a value of type T using the serializer retrieved from reified type parameter.

Throws

TomlDecodingException

if element cannot be deserialized.