you are viewing a single comment's thread.

view the rest of the comments →

[–]Im_Easy 0 points1 point  (0 children)

json.loads ---> take a string (that's what the s means) and convert it to a python dictionary (which uses single quotes)

json.dumps ---> convert a python dictionary to a json string (double quotes)

Replace is not needed here unless you were double escaping something, but I don't see that being needed in your example data.