mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Fixed table.json
This commit is contained in:
@@ -259,7 +259,7 @@ function table.json(lua_table)
|
||||
for key,value in ipairs(lua_table) do
|
||||
done[key] = true
|
||||
if type(value) == 'table' then table.insert(result,table.json(value,true))
|
||||
elseif not vlaue then table.insert(result,'null')
|
||||
elseif not value then table.insert(result,'null')
|
||||
else table.insert(result,table.val_to_str(value))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user