Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Does roblox automatically convert this to a lua dictionary/array?

I'm using the public RoVer api right now, and it returns a table like this : {"status":"ok","robloxUsername":"evaera","robloxId":92658764} and I need to know if roblox automatically converts this table to a dictionary or not, if not, is there a way.

2 comments

1

That looks like JSON. Yes, it can convert it. HttpService has a function named JSONDecode: its first argument should be a string containing the JSON. It returns the converted table.

1

Put that in an answer so I can accept it, ty

1 answer

✓ Accepted answer

That looks like JSON. Yes, it can convert it. HttpService has a function named JSONDecode: its first argument should be a string containing the JSON. It returns the converted table.

This discussion is preserved as it was. New answers, comments, and votes are closed.