This is my data:
[ { url: \'www.example.com/hello\', id: \"22\" }, { u
You can also use unionBy for 4.0.0 and later, as follows: let uniques = _.unionBy(data, 'id')