I would like to check if an object has a child object array
for example
{
"parent_category_id": "ABC",
"parent_category_name": "ABC COMPANY",
"place_id": 733,
"industry": {
"@nil": "true"
}
"street_id": 733
}
How would you check if the "Industry" object would have a child array. Like if "Industry" has a child array value of "@nil: true". Then alert Has Child