User Tools

Site Tools


lua:lua_cjson

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
lua:lua_cjson [2021/07/22 07:31] – ↷ Page moved from lua_cjson to lua:lua_cjson atolstovlua: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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki