JSFiddle - React, Tailwind, and code Playground

JavaScript

var foo = [ { "a" : "1" }, { "b" : "2" }, { "a" : "1" } ];

var foo2 = _.unique(foo, false, function(item, k, v){
    return item.a;
});
console.log(foo2);