Question

30
Views
Ravi Ranjan (RaviR195)
National Australia Bank Ltd

National Australia Bank Ltd
AU
RaviR195 Member since 2019 1 post
National Australia Bank Ltd
Posted: March 8, 2021
Last activity: March 9, 2021
Posted: 8 Mar 2021 18:22 EST
Last activity: 9 Mar 2021 5:53 EST

Map JSON keys to Pega properties using OOTB rule

We need to consume a REST API to get a list of Ref data codes and description from an external system. The system is returning the code and description as JSON key and value respectively. In Pega, we need to map both the JSON key and value to Pega properties. Is there any OOTB rule which can be used to map the JSON keys in the response to Pega properties?

Sample response :

{     "values": {         "10": "Some description",         "11": "Some description2",         "01": "Some description3",         "02": "Some description4"     } }

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.4.2 Data Integration Financial Services Lead System Architect