Constructors
Properties
Extensions
Look up the value(s) at the given path in the receiver TOML structure, then decode them into the type given by the type parameter T
. If decoding is not possible, a TomlException.DecodingError is thrown. If there is no value at the given path, null
is returned.
Look up the value(s) at the given path in the receiver TOML structure, then decode them into the type given by T
using the given custom TOML decoder.
Look up the value(s) at the given path in the receiver TOML structure, then decode them into the type given by targetKType
using the given custom TOML decoder. targetKType
and T
should correspond to the same type, or the behavior of get
is undefined.
Serializes the receiver TomlDocument into a valid TOML document using the default serializer and writes it to the given Appendable.
Serializes the receiver TomlDocument into a valid TOML document using the default serializer and writes it to the given OutputStream.
Serializes the receiver TomlDocument into a valid TOML document using the default serializer and writes it to the file represented by the given Path.