I am trying to go to the location json.responseJSON.Sites.LHR and on next iteration json.responseJSON.Sites.NJE so on and so on. notification on the first instance is a string "LHR" and second "NJE". Is this possible?
for(var notification in json.responseJSON.Sites){
console.log(json.responseJSON.Sites.notification);
}
This is my json
{
"Sites": {
"LHR": 1,
"NJE": 1,
"AZS": 1,
"SGP": 1,
"OHS": 1,
"AZP": 1
}
}