Skip to content

wezterm.json_parse(string)

Since: Version 20220807-113146-c2fee766

The functionality described in this section requires version 20220807-113146-c2fee766 of wezterm, or a more recent version.

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

> wezterm.json_parse('{"foo":"bar"}')
{
    "foo": "bar",
}