📅  最后修改于: 2022-03-11 15:01:44.279000             🧑  作者: Mango
import json
# some JSON:
x = '{ "name":"John", "age":30, "city":"New York"}'
# parse x:
y = json.loads(x)
# the result is a Python dictionary:
print(y["age"])