Back to Wezterm

wezterm.json_parse

docs/config/lua/wezterm/json_parse.md

latest213 B
Original Source

wezterm.json_parse(string)

{{since('20220807-113146-c2fee766')}}

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

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