senses:packages:kmj-json
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| senses:packages:kmj-json [2025/07/28 01:20] – created flash | senses:packages:kmj-json [2026/04/27 00:21] (current) – removed lie flash | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The kmj-json package provides a JSON codec. | The kmj-json package provides a JSON codec. | ||
| - | |||
| - | The runtime provides this library through the [[https:// | ||
| ===== decode ===== | ===== decode ===== | ||
| Line 13: | Line 11: | ||
| decode(input: | decode(input: | ||
| - | This function takes a single | + | ==== Arguments ==== |
| + | |||
| + | - The first argument | ||
| + | |||
| + | ==== Returns ==== | ||
| + | |||
| + | - The first return value will be the decoded Lua equivalent value type of the given JSON, or '' | ||
| ===== encode ===== | ===== encode ===== | ||
| Line 23: | Line 27: | ||
| encode(input: | encode(input: | ||
| - | This function takes a single | + | ==== Arguments ==== |
| + | |||
| + | - The first argument | ||
| + | |||
| + | ==== Returns ==== | ||
| + | |||
| + | - The first return value will be the JSON encoded representation of the given input, or a Lua '' | ||
senses/packages/kmj-json.1753665649.txt.gz · Last modified: by flash
