How to go through each object in oData?
<p><img src="https://i.stack.imgur.com/vH2br.png" alt="How go through each object in oData?"></p>

<p>when i type the following code statement i get the image attached.Now i want to access the property "label" that is inside each of these objects. how can i go through each of these objects and get their "label" properties?</p>

<pre><code>item.getModel().oData;
</code></pre>

<p>i have tried the following code but it failed to work:</p>

<pre><code>               var labelText = item.getModel().oData;

                labelText.forEach(function(entry) {
                    var c = entry.StreetName;
                });
</code></pre>

<p>An example of one of the items:</p>

<p><img src="https://i.stack.imgur.com/IDuc9.png" alt="The object info expanded"></p>