I tried the unpack() function and table.concat but none of these actually gave me what I wanted, instead it printed nothing. Here is what I want to convert into a string. My idea is if I looped through the dictionary and then printing the contents but it didn't put all of it in one line. I want to print the contents of "Wall" into one line.
local thing = {
["Wall"] = {
["Wood"] = 1, ["Stone"] = 100;
};
}
