import json
a='{"errno":0,"errmsg":null,"unassigned":0,"total":0,"list":null}'
# json.loads()可以识别出字符串中的json格式:去掉引号,并变成通用的json,所有语言都识别
a=json.loads(a)
print(a)
print(type(a))
import json
a='{"errno":0,"errmsg":null,"unassigned":0,"total":0,"list":null}'
# json.loads()可以识别出字符串中的json格式:去掉引号,并变成通用的json,所有语言都识别
a=json.loads(a)
print(a)
print(type(a))