You need to sign in to do that
Don't have an account?
Removing a duplicate element from a JSON Array
Hi,
I'm trying to figure out a way to dedupe JSON arrays based on the _prop.Invoice_Number__c value returned by a Remote Object retrieve. Please see attached screenshot of the JSON as viewed through a JSON editor to see the structure of the array.
I played around with lodash _uniq but with no success. Any pointers would be much appreciated.
Thanks!!

I'm trying to figure out a way to dedupe JSON arrays based on the _prop.Invoice_Number__c value returned by a Remote Object retrieve. Please see attached screenshot of the JSON as viewed through a JSON editor to see the structure of the array.
I played around with lodash _uniq but with no success. Any pointers would be much appreciated.
Thanks!!
This should do what you want in lodash