Exception: Expecting ',' delimiter: line 1 column 37381 (char 37380)

Viewed 19

Trying to load this data into a python dict

https://pastebin.pl/view/raw/3beb1c2b (had to upload as link due to stack overflowing limiting characeters) 

My attempt was

if Opcode.COINFLIPS in message:
    someVariable = json.loads(message[2:-1])

Using this whenever I send the data from their API i get a Exception: Expecting ',' delimiter: error. Is there any way to fix this if the data is always changing but same format?

0 Answers
Related