例子1 decode--将json字符串解析成lua-table类型. json_text = '[true, {"foo":"bar"}]' json_value = cjson.decode(json_text) -- Returns: '[true,{"foo":"bar"}]' ...
確定! 回上一頁