I have a collection like this ...
var data = {
"buckets": [
{
"key": "ia-Business",
"doc_count": 88
},
{
"key": "ia-Health_Sciences_and_Allied_Health",
"doc_count": 58
},
{
"key": "ia-Media_Communications_and_Creative_Arts",
"doc_count": 40
},
{
"key": "ia-Information_Technology",
"doc_count": 35
}
]
};
alert(data.buckets[0].doc_count);
Is it possible to fetch the value of property doc_count
for the object with key
property of ia-Business
?