toml_foolery.encode.tomlify

Undocumented in source.

Members

Classes

TomlEncodingException
class TomlEncodingException

Thrown by tomlify if given data cannot be encoded in a way that adheres to the TOML spec.

Functions

_tomlifyValue
string _tomlifyValue(T value)

Helper for testing.

hasDuplicateKeys
bool hasDuplicateKeys()
Undocumented in source. Be warned that the author may not have intended to support it.
tomlify
string tomlify(T object)

Encodes a struct of type T into a TOML string.

tomlifyField
void tomlifyField(K key, V value, Appender!string buffer, string[] parentTables)
Undocumented in source. Be warned that the author may not have intended to support it.
tomlifyValue
void tomlifyValue(T value, Appender!string buffer, string[] parentTables)

Encodes any value of type T.

Variables

makesTomlKey
enum bool makesTomlKey(T);
Undocumented in source.

Meta