aboutsummaryrefslogtreecommitdiff
path: root/docs/io.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/io.md')
-rw-r--r--docs/io.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/io.md b/docs/io.md
index 443c978..4dba6b2 100644
--- a/docs/io.md
+++ b/docs/io.md
@@ -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}}
+```