Skip to content

wezterm.serde.yaml_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 yaml and returns the equivalent lua values:

> wezterm.serde.yaml_decode('---\n# comment\nfoo: "bar"')
{
    "foo": "bar",
}