You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ICS Array in array without repeating elements

Received Response
17
Views
2
Comments
edited Jan 17, 2019 8:01AM in Integration 2 comments

Summary

I have a query that returns some values. But i only need unique elements out of them

Content

I have a sql that gives the output as per image screenshot. 

And current response that we get

Data : [

“class” : “English”,

 “alumni” : [ {“name” : “John” } , {“name” : “John” },{“name” : “Eric” }]

But we only want distinct valued response like below and manipulation to be done in ICS(mapper)

Data : [

“class” : “English”,

“alumni” : [ {“name” : “John” }, {“name” : “Eric” }] ]

Please suggest on doing this.

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!