import json
先导入需要的库
data : {"identity":" ","cust_name":" ","listtype":" ","start_date":"2019-12-12","end_date":"2019-12-29"}
# 将json字符串转换成dic字典对象
dict_json = json.loads(data)
for key in dict_json :
print ('======key========:'+key+"************value******"+dict_json[key])