21 lines
275 B
Markdown
21 lines
275 B
Markdown
---
|
|
title: wezterm.json_parse
|
|
tags:
|
|
- utility
|
|
- json
|
|
---
|
|
|
|
|
|
# `wezterm.json_parse(string)`
|
|
|
|
{{since('20220807-113146-c2fee766')}}
|
|
|
|
Parses the supplied string as json and returns the equivalent lua values:
|
|
|
|
```
|
|
> wezterm.json_parse('{"foo":"bar"}')
|
|
{
|
|
"foo": "bar",
|
|
}
|
|
```
|