Is there a way to remove the array elements cctype, cctypologycode, and amount if they are empty? What would be the most efficient approach?
{
"ccInput": [
{
"designSummaryId": 6,
"CCType": "A",
"CCTypologyCode": "A",
"Amount": "1"
},
{
"designSummaryId": 7,
"CCType": "",
"CCTypologyCode": "",
"Amount": ""
},
]
}
ccInput[1]
needs to be removed from the array