How can i access subjects in Json response and take the value which in types using typescript ?
Json Response :
{
"$id": "1",
"Council_ID": 102,
"place": "bla bla bla",
"number": "4644",
"type": 2,
"user_Id": 15,
"subjects": [
    {
        "$id": "2",
        "subjectCode": "464",
        "type": 1,
        "branch": "cairo",
        "gender": true
    },
    {
        "$id": "3",
        "subjectCode": "466",
        "type": 5,
        "branch": "alex",
        "gender": true
    }
],
"absence": []
}
meeting.component.ts :
this.dataStorageService.getCouncilId(this.meetingID).subscribe(response => {
                this.subjectsWithID = response.json();
                console.log(this.subjectsWithID, 'All Response')
                this.typee = this.subjectsWithID.subjects.type;
                console.log(this.typee, 'bla bla');
            });
