SyntaxFix
Write A Post
Hire A Developer
Questions
To loop through JSON Object : In Angluar's (6.0.0+), now they provide the pipe keyvalue :
keyvalue
<div *ngFor="let item of object| keyvalue"> {{ item.key }} - {{ item.value }} </div>
DO READ ALSO
To just display JSON
{{ object | json }}