把 JSON 转换为 Python把 JSON 转换为 Pythonimport json # some JSON:x = '{ "name":"Bill", "age":63, "city":"Seatle"}' # parse x:y = json.loads(x) # the result is a Python dictionary:print(y["age"])