Question
Tata Consultancy Services
AU
Last activity: 6 Feb 2018 7:17 EST
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