Json和table之间的解码和编码
local tb = {}
tb.name = "chicai"
tb.age = 18
local jstr = json.encode(tb) --编码
local tt = json.decode(jstr) --解码

首页 我的博客
粤ICP备17103704号