I'm trying to go through a large object of data, say of the form:
{
 data1: {
     keyA: 'AValue',
     keyB: 'BValue',
     id: 'UniqueID1'
   },
 data2: {
     keyA: 'AValue',
     keyB: 'BValue',
     id: 'UniqueID2'
   },
 data3: {
     keyA: 'AValue',
     keyB: 'BValue',
     id: 'UniqueID1'
   },
 data4: {
     keyA: 'AValue',
     keyB: 'BValue',
     id: 'UniqueID2'
   }
}
Is there a method to go through this object and return to me the unique values for 'id'? E.g I would like to end up with the values
UniqueID1, UniqueID2,
either in an array or an object, it wouldn't matter. Any help on this would be very much appreciated. Thanks.
 
     
     
    