Question
Adqura
TR
Last activity: 7 Oct 2016 10:31 EDT
REST output is not compliant with RFC7159; cannot escape carriage return
Hi,
JSON output in the REST API call is malformed. Carriage return is not replaced with anything. As suggested in https://pdn.pega.com/support-articles/rest-service-not-returning-correct-json-response post (SA-12685), I was expecting to resolve the issue by defining the following dynamic system setting, but it didn't work out.
Purpose : json/escapeSpecialCharacters
Owning Ruleset : Pega-IntSvcs
Value : true
My output is below. Due to GUI limitations, there must be a carriage return after increase as seen below
"ShortDesc":"Would you like to increase
the limit of your credit card?",
This is how business users enter proposition data (upload via Excel).
Do I need to write my own replace function or is there an out-of-the-box function to handle this? Could you also confirm / double check if Hfix-23009 is available in Pega 7.2 ?
The requirement is to provide a valid JSON output/data with carriage return.
Regards,
Pega 7.2 & Pega Marketing 7.13
***Updated by moderator: Lochan to add Category | Tagged SR Created***