Question

1
Replies
106
Views
Kamalesh_mohanty Member since 2010 5 posts
Areteans
Posted: September 16, 2019
Last activity: September 30, 2019
Closed

JSON Payload sorting

Hi,

Is there a way to order the outgoing JSON and ensure that the order remains the same every time.

We have the following JSON where we have to re-order before sending it to the WSO2 as the service architecture is designed like that.

So is it possible to do so in PEGA?(assume we set the values in the correct order expected in the service using the request datatransform)

{
"reason":"Test ",
"card":"testcard",
"user":"testapp",
"channel":"testchannel",
"cardStatusCode":00
}

Thanks

Kamalesh

Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn