Issue: angular for loop is not displaying values on line {{ item.Id }}. If you look at screenshot below, it is geting the correct length 10 but no values.
Debug: on line console.log(this.person); is displaying following data in web broswer; which is correct data. I think issue could be with mapping?
Font-end: here I am displaying values
{{ person.length }} <br/>
{{ person}}
<table class='table table-striped'>
<thead>
<tr>
<th>Id</th>
<th>First Name</th>
<th>Last Name</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of person;">
<td>{{ item.Id }}</td>
<td>{{ item.First_Name }}</td>
<td>{{ item.Last_Name }}</td>
</tr>
</tbody>
</table>
Component
export class MyComponent implements OnInit {
public person: Person[] = [];
constructor(private http: HttpClient, @Inject('BASE_URL') baseUrl: string) {
}//end of constructor
ngOnInit(): void {
this.http.get<Person[]>('person').subscribe(result => {
this.person= result;
console.log(this.person);
}, error => console.error(error));
}// end of init()
}// end of class
interface Person{
Id: number;
First_Name: string;
Last_Name: string;
}


idin JSON andIdinPersoninterface)