lua:lua_cjson
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lua_cjson [2021/04/14 08:48] – 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.txt · Last modified: 2021/12/07 11:22 by atolstov