json
You can parse a stringified json object into a python dict using the loads
method on the json
object.
import json
json_string = '{ "name":"John", "age":30, "city":"New York"}'
json_dictionary = json.loads(json_string)
print(json_dictionary['name']) # => "John"