Ok, so I'm new to JSON Format.
Code:
local HttpService = game:GetService("HttpService")
local Table = {
Children = game.Workspace:GetChildren(),
Number = 2
}
print(Table) -- Just for experimentation purposes
local Code = HttpService:JSONEncode(Table)
print(Code)
I want to print Children (inside Table) as something like (maybe not exactly this, but like it): {"Camera", "Terrain"}
For this instance, there is only going to be Camera and Terrain inside game.Workspace, but I want it work for anything I add later automatically when you join. So if I added a Script to game.Workspace it would print: {"Camera, "Terrain", "Script"}.
Any ideas?

1 comment
You can't have an instance reference within a JSON table. You can only have strings, numbers, or subtables.