I have a very large table that I want to json.encode but I get a “not enough memory” error. Has anyone else encountered this?
I thought about breaking up the operation and then piece back together the json like this:
Local luaString
For i,v in ipairs(data.layers) do
luaString = luaString .. json.encode( data.layers[i] )
end
It’s not working out for me… any ideas? Thanks in advance 