diff options
Diffstat (limited to 'tests/json.lua')
| -rw-r--r-- | tests/json.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/json.lua b/tests/json.lua deleted file mode 100644 index a659889..0000000 --- a/tests/json.lua +++ /dev/null @@ -1,10 +0,0 @@ -local file = io.open("tests/test.json", "r") -local content = file:read("*a") -file:close() - -local data = json.decode(content) - -print("name: " .. data.name) -for _, n in pairs(data.numbers) do - print(" - number: " .. n) -end |
