Skip to content

wezterm.serde.json_decode(string)

Since: Nightly Builds Only

The functionality described in this section requires a nightly build of wezterm. You can obtain a nightly build by following the instructions from the Download section.

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

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