Angular2 ngFor Iterating over JSON
I´m fairly new to Angular2, and i want to read out a json file. It´s working, that I get the file from a REST-Client, i can save the file in a local variable in a component and furthermore I´m able to read properties of the variable. Now I´m trying to read other properties (Array) with ngFor, but this isn´t working. Here´s the html: //Working <td>{{status.rights}}</td> //Not working <tr *ngFor="let folder of status.recfolders"> <td>{{folder.text}}</td> <td>{{folder.size}}</td> <td>{{folder.free}}</td> </tr> And the JSON: { "status": { "rights": "full", "recfiles": "13", "recfolders": { "folder