Skip to Content
0
Former Member
Jul 27, 2016 at 08:40 PM

REST adapter - How to set boolean value without quotes in JSON format

1113 Views

Hi All,

I am using REST receiver adapter (from AdvantCo) which converts data from XML to JSON format.

On target structure we have a boolean field which is mapped to a string field on source side.


Output i get:

{"product": [

{

"text": "My Adapter",

"isSapCertified": "true"

}

]}

but I want to have:

{"product": [

{

"text": "My Adapter",

"isSapCertified": true

}

]}

Please help


Regards,

Mandeep Virk