Files
LLeMbas-TTY/docs/config/lua/wezterm/json_encode.md
T

238 B

title, tags
title tags
wezterm.json_encode
utility
json

wezterm.json_encode(value)

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

Encodes the supplied lua value as json:

> wezterm.json_encode({foo = "bar"})
"{\"foo\":\"bar\"}"