Back to Wezterm

`wezterm.serde.json_decode(string)`

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

latest214 B
Original Source

wezterm.serde.json_decode(string)

{{since('nightly')}}

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

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