Skip to content

kumo.serde.toml_load(FILENAME)

Since: Version 2024.09.02-c5476b89

The functionality described in this section requires version 2024.09.02-c5476b89 of KumoMTA, or a more recent version.

Note

In earlier versions of kumomta, this function was available as kumo.toml_load.

Reads the content of the file name FILENAME and parses it as TOML, returning a lua representation of the parsed TOML.

See also kumo.serde.toml_parse, kumo.serde.toml_encode and kumo.serde.toml_encode_pretty