can somebody help me remove object from array having some duplicate properties.
var data = [{
"IDPOSITION": "1",
"LATITUDE": "5.35961",
"LONGITUDE": "-3.10095",
"IDUSAGER": "1",
"DATECREATION": "2013-10-12 21:53:09"
}, {
"IDPOSITION": "2",
"LATITUDE": "5.35961",
"LONGITUDE": "-4.00095",
"IDUSAGER": "1",
"DATECREATION": "2013-10-12 21:53:51"
}, {
"IDPOSITION": "3",
"LATITUDE": "5.35961",
"LONGITUDE": "-4.00095",
"IDUSAGER": "1",
"DATECREATION": "2013-10-12 21:53:53"
}];
I need to remove objects having same couple of (LATITUDE, LONGITUDE). In the example above data[1] and data[2] are duplicate from criteras (LATITUDE, LONGITUDE)