Question

1
Replies
100
Views
Close popover
Javier Compte (JavierC8)
Accenture

Accenture
ES
JavierC8 Member since 2017 18 posts
Accenture
Posted: June 4, 2019
Last activity: July 17, 2019
Closed

Parse JSON recursively - REST Service

Hi,

I need to process a REST request, mapped as JSON, with a lot of variables (var1, var2...var180).

Is there any way to avoid creating 180 properties in Pega? I have seen other cases, using Page lists but when the field contains a lot of pairs key-value. In this case, each variable has a different name.

{

"var14":
{
"type": "string",
"data": ["test"],
"name": "var14",
"source": "session"
},

"var15":
{
"type": "string",
"data": ["test2"],
"name": "var15",
"source": "session"
}

Thank for your help.

Data Integration
Moderation Team has archived post