for example I have this code
local table = "{Cald_fan = 3, otherperson = 5}"
But i want something that makes it be a table, not a string so it will be like this instead
{Cald_fan = 3, otherperson = 5}
the reason i am asking a question like this is because trello api returns strings, and the information is a table.
This method is an alternative to JsonDecode and is not recommended because of lack in security.
local strtable = "{Cald_fan = 3, otherperson = 5}" strtable = loadstring("return " .. strtable)() -- Make sure you enable loadstring in serverscriptservice.