Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove duplicates in json array based on two fields in lodash

_.uniqBy(data, 'id');
 
PREVIOUS NEXT
Tagged: #remove #duplicates #json #array #based #fields #lodash
ADD COMMENT
Topic
Name
9+2 =