Hi all!
I'm in need of assistance in removing duplicate values within a single dictionary as I'm not having any success with the ideas/examples I've found.
I need to identify and remove any duplicate "asset" within this dicitionary:
{
"Features": [
[
{
"asset": {
"isCoastal": 0,
"name": "G344E",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "G344E",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "G344E",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "G344E",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "G344F",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "G344F",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA3A",
"type": "structure",
"isActive": 1
}
},
{
"asset": {
"isCoastal": 0,
"name": "S145",
"WMRegion": "SOUTHERN_REGION",
"wcuname": "WCA2B",
"type": "structure",
"isActive": 1
}
}
]
]
}