Hello ,
I use this codes to save and load json data, but the error gives:
-- For save data: file:write(mime.b64(cipher:encrypt(json.encode(M.data), "123456789"))) -- For load data: M.data = json.decode(cipher:decrypt(mime.unb64(file:read("\*a")), "123456789"))
M.data variable is a normal table.
This error causes the data to be saved: