Dynamically generate json object
I have to create a dynamic structure as mentioned below, where the tags "IntF1", "ConnectorGender", "ConnectorType" are dynamic and need to be created at runtime while creating the json body.
As the structure needs to created dynamically thus we cant use a pagelist/page group, Request you to please suggest any alternative approch.
Currently using PEGA 7.3.1v
I have to create a dynamic structure as mentioned below, where the tags "IntF1", "ConnectorGender", "ConnectorType" are dynamic and need to be created at runtime while creating the json body.
As the structure needs to created dynamically thus we cant use a pagelist/page group, Request you to please suggest any alternative approch.
Currently using PEGA 7.3.1v
"name": "physicalLinks", "valueType": "object", "value":{ "Intf1":{ "ConnectorGender": "SOCKET", "ConnectorType": "LC" }, "Intf2":{ "ConnectorGender": "PLUG", "ConnectorType": "RJ45" } }