Skip to content

kumo.toml_encode(VALUE)

Warning

This function has moved to the kumo.serde module and will be removed in a future release. (Since: Version 2024.09.02-c5476b89)

Attempts to encode VALUE as its TOML equivalent, and returns that value serialized as a string.

This is logically the opposite of kumo.toml_parse.

See also kumo.toml_load, kumo.toml_parse and kumo.toml_encode_pretty