Possible Duplicate:
Sending and Parsing JSON in Android
I have a JSON
result in the following format which JSON Lint
shows this as a Valid Response
.
My question is: how do I accesss the content of "reportId0" value "164", "reportId1" value 157
,reportId2 value 165
, etc are all dynamic values?
My sample code for accessing value of properties
.How to get Value reportid
And add allvalue in Arraylist
?
"properties": {
"link": "",
"approvalsReportCount": 3,
"reportName0": "srcapprovals",
"reportId0": 164,
"reportName1": "Approvals",
"reportId1": 157,
"requests_report_id": "163",
"requests_report_name": "EG approvals",
"reportName2": "fulfillment",
"reportId2": 165
}