$ python -c 'import json,sys;print(json.dumps(json.loads(sys.argv[1])))' '{"a": "b"}'
{"a": "b"}
Maybe it's been fixed? That's Python 3.8.10. What version is it broken in? $ python -c 'import json,sys;print(json.dumps(json.loads(sys.argv[1])))' '{"a": "b"}'
{"a": "b"}
Maybe it's been fixed? That's Python 3.8.10. What version is it broken in? Python 2.7.16 (default, May 8 2021, 11:48:02)
>>> import json
>>> json.loads('{"a" : "b" }')
{u'a': u'b'}