Roblox jsonencode

local table = {
	name = "John",
  	cars = {
  		[1] = "Ford"
	}
}

print(game:GetService("HttpService"):JSONEncode(table)) -- change to JSONDecode to convert json to lua
val