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

18 lines
238 B
Markdown

---
title: wezterm.json_encode
tags:
- utility
- json
---
# `wezterm.json_encode(value)`
{{since('20220807-113146-c2fee766')}}
Encodes the supplied lua value as json:
```
> wezterm.json_encode({foo = "bar"})
"{\"foo\":\"bar\"}"
```