Skip to content

wakterm.serde.toml_encode(value)

Since: Nightly Builds Only

The functionality described in this section requires a nightly build of wakterm. You can obtain a nightly build by following the instructions from the Download section.

Encodes the supplied lua value as toml:

> wakterm.serde.toml_encode({foo = { "bar", "baz", "qux" } })
"foo = [\"bar\", \"baz\", \"qux\"]\n"