@hacker_ratty this is the problem I am facing:
Suppose below is the data I receive from the API
{"status":"OK","result":{"data":{"content":[{"problemCode":"ORDERS","problemName":"Ordering the Soldiers","successfulSubmissions":692,"accuracy":8.856227623893},{"problemCode":"CHEFBOOK","problemName":"Chefbook","successfulSubmissions":38,"accuracy":30.939226519337},{"problemCode":"CONNECT","problemName":"Find a special connected block","successfulSubmissions":38,"accuracy":9.688013136289},{"problemCode":"WTHINGS","problemName":"Where the Wild Things Are","successfulSubmissions":38,"accuracy":22.330097087379},{"problemCode":"DIGFORST","problemName":"Digits Forest","successfulSubmissions":37,"accuracy":16.352201257862},{"problemCode":"DISTNUM2","problemName":"Easy Queries","successfulSubmissions":37,"accuracy":31.34328358209},{"problemCode":"SEGMENTQ","problemName":"Segment Queries","successfulSubmissions":37,"accuracy":17.543859649123},{"problemCode":"SEZ","problemName":"Special Economic Zone","successfulSubmissions":37,"accuracy":38.135593220339},{"problemCode":"AUTHEN","problemName":"Authentication Failed","successfulSubmissions":36,"accuracy":25},{"problemCode":"CNTHEX","problemName":"Counting Hexagons","successfulSubmissions":36,"accuracy":38.095238095238},{"problemCode":"FBCHEF","problemName":"Final Battle of Chef","successfulSubmissions":36,"accuracy":31},{"problemCode":"FSFSFS","problemName":"Factorial to Square","successfulSubmissions":36,"accuracy":40.579710144928},{"problemCode":"LCM","problemName":"Adding Least Common Multiples","successfulSubmissions":36,"accuracy":16.608996539792}],"code":9001,"message":"Problem List Successfully Fetched"}}}
When I apply
json.loads()
on the above data, I receive the output as
*statusresult*
but earlier applying
json.loads()
on the same data was giving me the appropriate dictionary.
Please help!