Answers for "roblox jsonencode"

Lua
4

roblox jsonencode

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

print(game:GetService("HttpService"):JSONEncode(table)) -- change to JSONDecode to convert json to lua
Posted by: Guest on April-19-2022

Browse Popular Code Answers by Language