📜  获取值 json python - Javascript 代码示例

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

代码示例1
print(json_object_string)
OUTPUT
{"id":"20", "name":"Bob"}

json_object = json.loads(json_object_string)

print(json_object["name"])
OUTPUT
Bob