I have received the following JSON data:
"memberValidations":
[
{
"field": "PRIMARY_EMAIL",
"errorCode": "com.endeavour.data.validation.PRIMARY_EMAIL",
"createdDateTime": null
},
{
"field": "lastName",
"errorCode": "com.endeavour.data.validation.lastName",
"createdDateTime": null
},
]
After removing an object using delete memberValidations[0];
I expected to retrieve lastname from memberValidations[0];
, but instead I'm getting undefined. Any suggestions on how to correct this?