I have been attempting to showcase the following array:
myData = {
"data": {
"ZSLatencies": {
"Recharging API Latency": [
[
"<200ms",
2320
],
[
">200ms",
4
],
[
">500ms",
0
],
[
">1000ms",
0
],
[
">2000ms",
0
],
[
">3000ms",
0
]
]
}
}
}
My aim is to parse a JSON file and display it using an Angular template
<div *ngFor="i of myData.data.ZSLatencies" >
<p *ngFor="let d of i">
{{d}}
</p>
</div>
An error message is displayed as shown below: enter image description here