diff options
| author | ame <[email protected]> | 2023-12-28 19:02:03 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-28 19:02:03 -0600 |
| commit | 6c0a32d32ee310a78a8c5651dca443d378bb1f32 (patch) | |
| tree | 6a266ec7e4f61e90c23ce6df557203f948d36d29 /docs/io.md | |
| parent | 730313437437a9495390b7c2f0a6eded3dbc2653 (diff) | |
json parsing :p
Diffstat (limited to 'docs/io.md')
| -rw-r--r-- | docs/io.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -42,3 +42,12 @@ llib.io.readfile("./docs/io.md") -- (this file) - file_chunksize (512) - size of chunk to be allocated +### json_parse + +'accepts a json string + +returns a table represented by the string + +```lua +llib.io.json_parse('{"test":[5,4,3]}') -- {"test" : {5, 4, 3}} +``` |
