Я хочу проанализировать driverDocumentDetails
как массив.
JSON реализован из структуры данных HashMap для Android (Java) Angular Firestore MAP внутри MAP
{
"driverDocumentDetails":{
"fhgfh":{
"documentCategoryID":"fhgfh",
"documentCategoryName":"Pan Card",
"documentUploadedDateTime":null,
"reasonForRejection":null,
"uploaded":false,
"uploadedDocumentURL":null,
"verified":false
},
"bjhbh":{
"documentCategoryID":"bjhbh",
"documentCategoryName":"Driving License",
"documentUploadedDateTime":null,
"reasonForRejection":null,
"uploaded":false,
"uploadedDocumentURL":null,
"verified":false
},
"hgvjh":{
"documentCategoryID":"hgvjh",
"documentCategoryName":"NOC",
"documentUploadedDateTime":null,
"reasonForRejection":null,
"uploaded":false,
"uploadedDocumentURL":null,
"verified":false
}
},
"driverID":"bhbjhbjhbj",
"hgchg":[
{
"bjnk":"jhbjhb",
"fhfyhgf":"jjb"
},
{
"gfhg":"jgjuy",
"gh":"guguj"
}
]
}
onCustom(recordRow) {
console.log("onCustom Driver docs data---->",recordRow);
this.crudService.ReadDriverDocuments(recordRow.data.id).subscribe(data => {
this.driverDocument = data.data();
console.log('ReadDriverDocuments',this.driverDocument);
});
}