I am new to angular key,value concepts. Down below is my json object-> key,value.
key->String value->object
{
"Value 3": {
"paymentRequestMethod": null,
"bankHolderName": "BANKHOLDER3",
"routingNumber": "278723",
"bankAccountNumber": "BANKACCOUNT1",
"reEnteredBankAccountNumber": null,
"accountType": "savings",
"bankName": "BANK3",
"accountNumberVerificationValue": null,
"encryptedBankAccountNumber": null,
"enrollEftIndicator": false,
"status": null
},
"Value 4": {
"paymentRequestMethod": null,
"bankHolderName": "BANKHOLDER4",
"routingNumber": "278724",
"bankAccountNumber": "BANKACCOUNT1",
"reEnteredBankAccountNumber": null,
"accountType": "savings",
"bankName": "BANK4",
"accountNumberVerificationValue": null,
"encryptedBankAccountNumber": null,
"enrollEftIndicator": false,
"status": null
},
"Value 1": {
"paymentRequestMethod": null,
"bankHolderName": "BANKHOLDER1",
"routingNumber": "278721",
"bankAccountNumber": "BANKACCOUNT1",
"reEnteredBankAccountNumber": null,
"accountType": "savings",
"bankName": "BANK1",
"accountNumberVerificationValue": null,
"encryptedBankAccountNumber": null,
"enrollEftIndicator": false,
"status": null
},
"Value 2": {
"paymentRequestMethod": null,
"bankHolderName": "BANKHOLDER2",
"routingNumber": "278722",
"bankAccountNumber": "BANKACCOUNT1",
"reEnteredBankAccountNumber": null,
"accountType": "savings",
"bankName": "BANK2",
"accountNumberVerificationValue": null,
"encryptedBankAccountNumber": null,
"enrollEftIndicator": false,
"status": null
},
"Value 0": {
"paymentRequestMethod": null,
"bankHolderName": "BANKHOLDER0",
"routingNumber": "278720",
"bankAccountNumber": "BANKACCOUNT1",
"reEnteredBankAccountNumber": null,
"accountType": "savings",
"bankName": "BANK0",
"accountNumberVerificationValue": null,
"encryptedBankAccountNumber": null,
"enrollEftIndicator": false,
"status": null
}
}
i seen lot of examples which has labels for both key and Value, so we can able to iterate using angular.foreach(). My question is how to get value by passing key without using labels(like above json).is it possible??
Thanks in Advance.