mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
13 lines
228 B
Markdown
13 lines
228 B
Markdown
# `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",
|
|
}
|
|
```
|