I want to print JSON response but when I try to print JSON response
below my json response but wheni tired to print this response on dropdown its printed like this Blue,Gray,Green,Red,Yellow but
I wnat to print like this
Blue
Gray
Green
Red
Yellow
<div *ngFor="let stat of six>
{{stat.options}}
</div>
<p>ts file<br>
six:any=[{“id”:1,“name”:“Color”,“position”:0,“visible”:true,“variation”:true,"options[“Blue”,“Gray”,“Green”,“Red”,“Yellow”]},{“id”:2,“name”:“Size”,“position”:1,“visible”:true,“variation”:true,<br>
“options”:[“Large”,“Medium”,“Small”]}];</p>
<p>just loop on the variable in which you store this json value you will get the result</p>