JSON Parsing Functions
knassar702 opened this issue · 1 comments
knassar702 commented
JSON Parsing Functions
knassar702 commented
We gonna use cjson lua package instead of writing another json parsing functions inside lotus
json_string = [[
{
"admin":"test"
}
]]
local json = require('cjson')
local tab = json.decode(json_string)
json_string = json.encode(tab)