I’m trying to convert every table in a table to a JSON string. Without luck.
I have atm:
for _, table in pairs(localtable) do if istable(table) then localtable[table] = util.TableToJSON(localtable[table]) end end
Why is it not working and what am I doing wrong?