Question

4
Replies
1105
Views
SowjanyaLaxmiG2267 Member since 2017 34 posts
Infosys
Posted: February 5, 2018
Last activity: February 6, 2018
Closed

Issue in converting Pagelist in to proper JSON format in Pega 6.2

Hi All,

We are getting the below message as response : Invalid JSON: Unexpected token { in JSON at position 37 . We are connecting to external system using Connect-Rest.

The expected request format is :

"test":[
{
"test1":"1234","test2":"5678"}
]

but request is forming in this way :

"test":{{ test:

[{"test1":"1234","test2":"5678"

}]}}

it is clear that test pagelist is not being converted to JSON array properly not sure why.

Can anyone please help and also we are using Map From Key as JSON only.

Regards,

Sowjanya

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn