Toml Literal
Creates a TomlLiteral from boolean.
Creates a TomlLiteral from byte.
Creates a TomlLiteral from short.
Creates a TomlLiteral from int.
Creates a TomlLiteral from long.
Creates a TomlLiteral from uByte.
Creates a TomlLiteral from uShort.
Creates a TomlLiteral from uInt.
Creates a TomlLiteral from uLong.
Creates a TomlLiteral from float.
See also
Creates a TomlLiteral from double.
See also
Creates a TomlLiteral from char.
Creates a TomlLiteral from string.
Creates a TomlLiteral from localDateTime.
Creates a TomlLiteral from offsetDateTime.
Creates a TomlLiteral from localDate.
Creates a TomlLiteral from localTime.
Creates a TomlLiteral from enum.
Note that this function delegates to the overload which consumes String.
Parameters
could be ignored, but for contextual serialization, this should be present.
Deprecated
Use overloads with specific type.
Replace with
TomlLiteral