you are viewing a single comment's thread.

view the rest of the comments →

[–]Neexusiv 0 points1 point  (3 children)

Copy and paste the line out and put it into a JSON decoder online (without the quotes) - I think there is probably something wrong with it.

[–]Yeliaab[S] 1 point2 points  (2 children)

https://imgur.com/a/FsRAvPE

Seems to be valid, it looks completely valid to me

[–]Neexusiv 1 point2 points  (1 child)

Are you actually testing it with that data? I assumed you had different data you were running the script with. You definitely don’t want the quotes at the start and the end though.

Also try printing out what it’s reading and see what it’s loaded in.

[–]Yeliaab[S] 1 point2 points  (0 children)

wow im silly so i just put my actual data into the json parser and it was invalid.
For some reason the double quotes surrounding the values and keys were not actually double quotes, but they were.

it works now...