How to extract and build an array of unique values of a field from an array?
I want to extract a set of unique proceduresId values from the response i.e. [211, 324, 167] Sample response: { "result" : { "propertiesOPC" : [ { "phasePropertyId" : 3890, "proceduresId" : 211 }, { "phasePropertyId" : 3890, "proceduresId" : 211 }, { "phasePropertyId" : 3890, "proceduresId" : 324 }, { "phasePropertyId" : 3890, "proceduresId" : 167 }, { "phasePropertyId" : 3890, "proceduresId" : 167 } } }Solved1.8KViews0likes2Comments