import json x = '{ "name":"John", "age":30, "city":"New York"}' y = json.loads(x) print(y["age"])
>>> import json >>> data = {'jsonKey': None} >>> json.dumps(data) '{"jsonKey": null}' >>> json.loads(json.dumps(data)) {u'jsonKey': None}