I am facing some problem in parsing a json response. The problem is to extract the success message from the response below:
{
"success": true,
"reports": [
{ "uid": 10, "report_count": 10, "levels":1, "max_download_capacity": 10 },
{ "uid": 11, "report_count":20, "levels": 2, "max_download_capacity": 30 }
]
}
response.successwill do it assuming your response is coming viaresponsevar/parameter