Skip to content

wezterm.serde.toml_decode(string)

Since: Nightly Builds Only

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

Parses the supplied string as toml and returns the equivalent lua values:

> wezterm.serde.toml_decode('foo = "bar"')
{
    "foo": "bar",
}