I am getting a JSON response like below:
[
{
"id": "1",
"name": "Abhi",
"pan": "ABC",
"bg": "O+"
},
{
"id": "2",
"name": "Ashish",
"pan": "XYZ",
"bg": "AB+"
},
.
.
.
]
and I want to remove the "pan" and "bg" field from all elements of the array in the final response.Like below:
[
{
"id": "1",
"name": "Abhi"
},
{
"id": "2",
"name": "Ashish"
},
.
.
.
]