Back to Wezterm

`wezterm.serde.yaml_decode(string)`

docs/config/lua/wezterm.serde/yaml_decode.md

latest227 B
Original Source

wezterm.serde.yaml_decode(string)

{{since('nightly')}}

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

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