1
0
Fork 0

Made serialization work on straight lua.

Esse commit está contido em:
Izaya 2015-10-18 02:40:47 +11:00
commit 6a951a0e1e
1 arquivos alterados com 0 adições e 1 exclusões

Ver arquivo

@ -119,7 +119,6 @@ function serialization.serialize(value, pretty)
end
function serialization.unserialize(data)
checkArg(1, data, "string")
local result, reason = load("return " .. data, "=data", _, {math={huge=math.huge}})
if not result then
return nil, reason