mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
228 B
228 B
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",
}