Can't parse JSON

yep, 100% sure and i just noticed ANOTHER error at line 117 of script client, here’s that line:
song = game.HttpService:JSONDecode(song).song

can you post the error here?
charsss

Can’t parse JSON
Stack Begin
‘Players.HystericalBinky.PlayerGui.FNFEngine.Client’, Line 117
Stack end

Umm…
Did you change the JSON Value to this?

I tried replicating the issue and it worked for me…

local HTTP = game:GetService("HttpService")
local JSON = script.JSON.Value
local DATA = HTTP:JSONDecode(JSON)
print(DATA)

image
image

I did everything u said, now even copied the code from the pastebin and put it in it just DOESN’T WORK

Would you mind posting the place file here?
Or if you don’t feel comfortable posting it here then send it in PM’s?
what you are saying is going against my working code

1 Like

Do u have discord? if so ill send it there.

Sure, add me here:
Centipede#7435

i think i know the problem.

Ive taken the time to try to solve this problem, so i hope this helps

The JSON you are trying to parse is correct, however when you copy and paste it into the Object value not all of the JSON gets copied. this is probably some wired limitation with Roblox but I’ve noticed any “Songs” with too many notes or are too long get their JSON cut off. this causes a parsing error to be thrown as you have a mal JSON.

you use the orginal JSON’s the valid one’s right?

when i use JSON validator for the original chart i get this,
(without copying to roblox)

this goes to line 7675 which is the whole JSON

however going over to roblox and copying it there. and THEN trying to retrieve the JSON
we get this:

Notice that all of the lines haven’t been copied, even if you do select all of it. I think string values have a wired character limitation to them.

Solutions:
Maby try not using a String Value to store the Song JSON.

1 Like

I don’t get why you need to revive this dead thread, the issue has already been solved and it was found out to be an illegal character causing this issue.

alright. apologies. for reviving the thread.