aboutsummaryrefslogtreecommitdiff
path: root/docs/io.md
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-28 19:02:03 -0600
committerame <[email protected]>2023-12-28 19:02:03 -0600
commit8c591404e3ce9a36acb5fbe26ceaf5d6f63048e5 (patch)
tree6a266ec7e4f61e90c23ce6df557203f948d36d29 /docs/io.md
parent3c4ce79c929a16602eecbb2a6600e1cea871439f (diff)
json parsing :p
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}}
+```