I am trying to get value but not get proper only one array is for another "no values" error shown so please help me how to get value form different array. "only name array break and next for output no values found errors shown and app crashes."
{
"project": [{
"name": [{
"sac": "sachin",
"sag": "sagar"
}]
}, {
"output": " true",
"msg1": [{
"emp": "001",
"empname": "sachin"
}, {
"emp": "002",
"empname": "sagar"
}]
}, {
"output_prg": " true",
"msg2": [{
"id": "1",
"pr_code": "SD"
}, {
"id": "002",
"pr_code": "SJ"
}]
}]
}
You can parse the response based on index of an array If it is 0 index you can parse the data based on JSON.
Here i done json parsing for your response.
But the json response is not in standard(i.e the intention of JsonArray is not used in Project array,better to make the project JsonArray as JSONObject and assign the each index as seperate JSONObject with Json Key)