add return code to net:get_text

This commit is contained in:
Evgeny
2021-08-02 16:53:52 +03:00
parent c17ccabef5
commit 0357bfdf5a
3 changed files with 15 additions and 2 deletions

6
json-test.lua Normal file
View File

@@ -0,0 +1,6 @@
json = require "json"
function on_resume()
local t = json.decode('[1,2,3,{"x":10}]')
ui:show_text(t[2])
end