转 lua下 string 和table 互转 (经过测试ok)
--table to string 序列化function serialize(obj) local lua = "" local t = type(obj) if t == "number" then lua = lua .. obj elseif t == "boolean" then lua = lua .. tost...