Help Decoding Parts of an Http String

Hello DevFourm, I am trying to decode info from a string returned from the user API in roblox. I can really explain it so ill post the String

{"created":"2006-02-27T21:06:40.3Z",

"description":"Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help"

,"hasVerifiedBadge":true,

"id":1,
"name":"Roblox",

"isBanned":false,

"displayName":"Roblox"}

(Think if that as ONE WHOLE STRING!!)

Like this:

{"created":"2006-02-27T21:06:40.3Z","description":"Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help","hasVerifiedBadge":true,"id":1,"name":"Roblox","isBanned":false,"displayName":"Roblox"}

How I want to decode it:
Name: Roblox
DisplayName: Roblox
isBanned = false
hasVerifyedBadge = true
Description: “The Users Description as a String”

Im not sure if this is possible but any replay would be helpful :slight_smile:

Thank you :slight_smile:

1 Like

You could JSON decode it to turn it into a Lua table:

Okay, I’ll try this out
Thank you

Edit: It worked :slight_smile: Thank you for the help!

1 Like

make sure to click the solution button for that guy’s post so that people facing the same problem can easily find a solution :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.