📌  相关文章
📜  从 JSON 转换为 Python - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:44.279000             🧑  作者: Mango

代码示例1
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"])