decode From Native Reader
Deserializes the content of nativeReader into a value of type T using deserializer.
Note that when finished, nativeReader is automatically closed.
Parameters
MUST contain a TOML file, as this method delegates parsing to Toml.parseToTomlTable.
See also
Throws
if the content cannot be parsed into TomlTable or cannot be deserialized.
Deserializes the content of nativeReader into a value of type T using the serializer retrieved from reified type parameter.
Note that when finished, nativeReader is automatically closed.
Parameters
MUST contain a TOML file, as this method delegates parsing to Toml.parseToTomlTable.
See also
Throws
if the content cannot be parsed into TomlTable or cannot be deserialized.
Parses the content of nativeReader into a TomlTable and deserializes the corresponding element fetched with keys into a value of type T using deserializer.
Note that when finished, nativeReader is automatically closed.
Parameters
MUST contain a TOML file, as this method delegates parsing to Toml.parseToTomlTable.
See also
Throws
if the content cannot be parsed into TomlTable or the element cannot be deserialized.
if provided non-primitive keys.
Parses the content of nativeReader into a TomlTable and deserializes the corresponding element fetched with keys into a value of type T using the serializer retrieved from reified type parameter.
Note that when finished, nativeReader is automatically closed.
Parameters
MUST contain a TOML file, as this method delegates parsing to Toml.parseToTomlTable.
See also
Throws
if the content cannot be parsed into TomlTable or the element cannot be deserialized.
if provided non-primitive keys.