python requests json解析_python:解析requests返回的response(json格式)
importrequests,jsonr=requests.get('http://192.168.207.160:9000/api/qualitygates/project_status?projectId=%s'%(p_uuid))state=json.loads(r.text).get('projectStatus').get('status')返回如下:{"projectStatus":{