How fetch api respone and loop through the JSON array?

The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone who has used XMLHttpRequest, but the new API provides a more powerful and flexible feature set.

<script>
fetch(‘https://demo.azuracast.com/api/stations’)
.then(res => res.json())
.then((out) => {
console.log(out);
for(var i = 0; i < out.length; i++) {
var obj = out[i];
console.log(obj.backend);
}
}).catch(err => console.error(err));
</script>

 

Console log: