One Object inside another Object and inside an Array.The data structure is
{
"_id" : "BXPqcoCYSXPQNkq9S",
"client_id" : "REzch3X67Efm2bCri",
"locations" : [
"kochi",
"trivandrum"
],
"tags" : {
"status" : [
"Active",
"Paused"
],
"category" : [
"Display",
"Search"
]
}
}
My Question is How to get Output is status and category ?
I am Alredy used to find active and Paused Method is
profile.map((data)=>(
console.log(data.tags['status']) //Active
//Paused
))
How to get value without name Specifeid status ?