Closed
Map response to JSON in REST Service
There are two ways of mapping response to JSON in REST Service:
- Use "Map from: JSON" in service rule, but in such case all Pega date properties (20181218) would not be converted to JSON format (2018-12-18)
- Use @pxConvertPageToString(tools,.Response,"json"), but in that case all Pega integer and decimal properties will be surrounded with quotes in the response
Is there "silver bullet" exists? Easy OOTB way to convert Pega clipboard structure to valid JSON with respect to all data types.