Convert string to table

Hello there! When you print a table in console anc check it in developer console (F9) you get a string,not a table. So how to get a table from printed string?

you could use the json encode function from httpservice HttpService:JSONEncode
it’ll help to an extent, but may have issues encoding things like Instances

you could also loop through the table to print keys and values

If you mean how to get every value in a table printed just have a loop like this:

for i,v in pairs(yourtable) do

this only gets the top layer
you’d also need to check if v is a table and iterating through that too

recursion should be able to handle this well unless you have a cyclic table