Hello, this is JSON data obtained from an API endpoint. I am trying to grab the value of name from the following:

{
   "previousPageCursor":null,
   "nextPageCursor":"10_1_7759318e0f8b41e12ccca86f14c63708",
   "data":[
      {
         "id":13058,
         "name":"Classic: Crossroads",
         "description":"The classic ROBLOX level is back!",
         "creator":{
            "id":1,
            "type":"User"
         },
         "rootPlace":{
            "id":1818,

When I attempt to print the dictionary within the data value like so,

	local req = HttpService:GetAsync(api_games)
	local reqObj = HttpService:JSONDecode(req)
	print(reqObj['data'])

I am presented with

 table: 0x344cd49b165fbf9a

Any help on retrieving the name value from the data key would be greatly appreciated. Thank you, I am new to this sort of stuff.

1 comment

0

HttpService:JSONDecode(Request).Data[1].Name