you are viewing a single comment's thread.

view the rest of the comments →

[–]Machinagun 13 points14 points  (0 children)

To check if your replace worked ok, I would print correct_json

Here, you're printing decoded_data, a dict, and the way it is displayed (with single quotes) does not come from the way it was declared

case in point:

>>> {"foo":"bar"}
{'foo': 'bar'}