cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to skip null objects in a list

nitishjain
Deputy Chef I
Deputy Chef I

I'm getting null objects in my filtered list. how can I remove the null objects w/o using Pythion script?
Example:
[{"name" : "Nitish",

"Id": "010"},

{},

{"name" : "Nitesh",

"Id": "020"}]

1 ACCEPTED SOLUTION

Hi @nitishjain ,
Once you receive the filtered response( includes empty items) use again the parse Json where need to pass following way
1. Add the sample response you receive as as sample request. ( your List response)
2. pass the actual array response in the below format.

List response.PNG


Thanks and Regards,
Shivakumar A


View solution in original post

5 REPLIES 5

Hi @nitishjain ,
Once you receive the filtered response( includes empty items) use again the parse Json where need to pass following way
1. Add the sample response you receive as as sample request. ( your List response)
2. pass the actual array response in the below format.

List response.PNG


Thanks and Regards,
Shivakumar A