lua:lua_cjson
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
lua:lua_cjson [2021/07/22 07:31] – ↷ Page moved from lua_cjson to lua:lua_cjson atolstov | lua:lua_cjson [2021/12/07 11:22] (current) – atolstov | ||
---|---|---|---|
Line 38: | Line 38: | ||
local decoded_table = cjson.decode(encoded) | local decoded_table = cjson.decode(encoded) | ||
- | for _, v in ipairs(decoded_table) do | + | for i, v in pairs(decoded_table) do |
TRACE(i .. " = " .. tostring(v)) -- show all the content of packet. | TRACE(i .. " = " .. tostring(v)) -- show all the content of packet. | ||
end | end |
lua/lua_cjson.1626939114.txt.gz · Last modified: 2021/07/22 07:31 by atolstov