How to remove duplicate dictionary from array of dictionary.
Response:
[
{
"voter_id":1
},
{
"passport":1
},
{
"pan_card":1
},
{
"aadhaar_card":1
},
{
"voter_id":1
},
{
"aadhaar_card":1
}
]
We need a output like below
[
{
"passport":1
},
{
"pan_card":1
},
{
"aadhaar_card":1
},
{
"voter_id":1
}
]
I am trying this link but does not helping me..