This is my JSON response how can I check for the null array in android
[
{
"OrderDetails":[
{
"userName":"akhilm"
"acc_name":"akhil001"
}
],
"OrderAttributes":null
"OrderServices":[
{
"name":"aditi"
"id":78934
}
],
"Message":null
"Description":null
}
]
The JSON data is dynamic
Invalid JSONJSONObject.isNull(<ARRAY_KEY>)?