add return code to net:get_text
This commit is contained in:
6
json-test.lua
Normal file
6
json-test.lua
Normal 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
|
||||
Reference in New Issue
Block a user