Files
LLeMbas-TTY/docs/config/lua/wezterm.serde/toml_encode.md
T

213 B

wezterm.serde.toml_encode(value)

{{since('nightly')}}

Encodes the supplied lua value as toml:

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