cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Module parameter setIgnoredElements in rest receiver channel is returning , (comma) in json payload

mrudularane
Explorer
3,422

I have used module parameter "setIgnoredElements" to remove unwanted fields from json payload but in return i am getting , for each field which i removed.

Ex: Before applying module parameter

<Field1>12345</Field2><Field3><Field2>test</Field2><Field3>Test1</Field3>

After applying moduleparameter setIgnoredElements with ParameterValue Field2,Field3

{ "Field1": "12345",,}

Any suggestion how to remove ,,, from the json payload?

Thanks,

Mrudula Rane

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

you managed to remove the comma, how?

aleotavares
Explorer

As a workaround I use to put those fields to be removed in the end of my payload.

I'm looking for a definitive solution too.

aditinayak27
Explorer
0 Likes

how can we remove comma. any solution