I have an array of json files.this is the sample of single json file,
{
"job": [
"admin",
"developer"
],
"name": "dave"
}
i need to get the "name" value if admin exist in "job". Need to do the same for other json files in the array.
Helps would be appreciated.
I am assuming if
hash["job"]
is present its an Array.