Warning: session_start(): open(/var/lib/php/sessions/sess_3gn886gnnijdl5lg27c0f39m5m, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
function loadDKJSON(sID)
local env = setmetatable({}, {__index=function(o, k) return _G[k] end })
return assert(loadSnippet(sID, env))()
end
json = loadDKJSON('#44')
--now you can do stuff like:
--print(json.encode{'hello', 'world'})
--print(json.encode{a='hello', b=2})
--t = json.decode('["hello","world"]')
--print(t[1], t[2])