diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 02:56:49 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 02:56:49 +0200 |
| commit | b6197cc1c5ca7632a604f354f8a2d7274b25f308 (patch) | |
| tree | 64c12976d0d11e71360359b2ba05ca4feacef937 /examples/json.lua | |
| parent | 7e927d46915646c7c219f6a57df5569bee9d78f8 (diff) | |
| download | bidi-b6197cc1c5ca7632a604f354f8a2d7274b25f308.tar.gz | |
Fixed button definitions and refactor
Diffstat (limited to 'examples/json.lua')
| -rw-r--r-- | examples/json.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/json.lua b/examples/json.lua deleted file mode 100644 index 17a1930..0000000 --- a/examples/json.lua +++ /dev/null @@ -1,10 +0,0 @@ -local file = io.open("examples/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 |
