Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

can't parse jason when decoding a string value into a table?

Asked by 4 years ago

so I am making a developer tool where when loading data in my game, I can use the developer tool to load not the datastore, but the value given. I am using StringValue and HTTP service. for some reason, it gives me a "can't parse Jason" error message. when I read a Roblox devfourm post, I thought that HTTPserveice could turn strings into tables. can this be done? do I have to store JSON data first?

datadata = HttpService:JSONDecode(workspace.ConfigurationManager.Developer.PlayerData.Value)

Any help?

0
In order to use JSONDecode, the value must be in JSON format. I'm assuming your value is along the lines of "" which is giving you an error. If you set the value to "[]", it should work! Hacreey 49 — 4y
0
does not work codingMASTER398 52 — 4y

Answer this question