I have this json data
myObj = {
"job":[
{
"student":{
"name" : "Agus"
}
},
{
"lecturer":{
"name" : "Budi"
}
}
]
}
how to forEach the object and print out the property of "name" value
I have this json data
myObj = {
"job":[
{
"student":{
"name" : "Agus"
}
},
{
"lecturer":{
"name" : "Budi"
}
}
]
}
how to forEach the object and print out the property of "name" value