json格式
{ "name": "John",
"age": 30,
"city": "New York"}
json数组
[ "Google", "Runoob", "Taobao" ]
{ "name":"网站", "num":3, "sites":[ "Google", "Runoob", "Taobao" ] }
python列表和JSON 数组的 区别
json.dumps(): 对数据进行编码。
变成json对象
json.loads(): 对数据进行解码。
json对象变成python字典
标签:Google,Runoob,python,json,JSON,Taobao From: https://www.cnblogs.com/mxleader/p/17857638.html