i get this json response
[{“id”:1,“name”:“bouquet1”,“status”:true},{“id”:3,“name”:“bouquet2”,“status”:true},{“id”:4,“name”:“bouquet2”,“status”:true}]
how can i convert this response to an array ? or there is any way to display it in the html
The data you’re showing is already an array, you can itterate it in html like this : ( supposing that your data is stored in this.data
variable ):
<div *ngFor="let d of data">
Id: {{d.id}}, Name: {{d.name}}, Status: {{d.status}}
</div>