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

how do I decode json?

I need help decoding json

my current code:

local json = game.HttpService:GetAsync("jsonlink") --removed
local decoded = json:decode()

it isnt working

2 answers

✓ Accepted answer

You need to use the decode function of HttpService. Example:

local t = game.HttpService:JSONDecode(json)

1 comment

0

ohhhhhh thanks dude. your like the only person i see. lol

Use HttpService's JSONDeocde function.

2 comments

0

i know the guy above told me

0

I gurantee this noob is only there for the extra 2 rep he just got.

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