mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
error
This commit is contained in:
@@ -73,7 +73,7 @@ function json_log(lua_table,no_log)
|
|||||||
for key,value in ipairs(lua_table) do
|
for key,value in ipairs(lua_table) do
|
||||||
done[key] = true
|
done[key] = true
|
||||||
if type(value) == 'table' then value = table.insert(result,json_log(value,true))
|
if type(value) == 'table' then value = table.insert(result,json_log(value,true))
|
||||||
else if type(value) == 'string' then json = table.insert(result,'"'..value..'"')
|
elseif type(value) == 'string' then json = table.insert(result,'"'..value..'"')
|
||||||
elseif type(value) == 'number' then table.insert(result,value)
|
elseif type(value) == 'number' then table.insert(result,value)
|
||||||
else table.insert(result,key..':null') end
|
else table.insert(result,key..':null') end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user