177 B
177 B
wezterm.json_encode(value)
{{since('20220807-113146-c2fee766')}}
Encodes the supplied lua value as json:
> wezterm.json_encode({foo = "bar"})
"{\"foo\":\"bar\"}"