JSFiddle - React, Tailwind, and code Playground
JavaScript
responseJSON = {
"Sites": {
"LHR": 1,
"NJE": 1,
"AZS": 1,
"SGP": 1,
"OHS": 1,
"AZP": 1
}
};
for(var notification in responseJSON.Sites){
console.log(notification + " : " + responseJSON.Sites[notification]);
}