Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code:
Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code:
Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code:
Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code:
Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code:
Getting “Extra Data” error when trying to json.loads on two separate json strings
I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use json.loads on. When I try to do this for a second json response, I get this error: “raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 3 column 1 (char 1455)”
I’m not sure how to fix this but I need to be able to access different variables inside both of the json strings/python dicts. Here’s the relevant code: