Page 1 of 1

Web output is escaping quotes --> \"

Posted: Fri Jun 12, 2026 11:09 pm
by AngelBermudez
while using YAJL -- Latest version.

JSON response from an RPG program running from Web service is Generating JSON strings with embedded quotes (\").

When viewed by SOAPUI looks like this:

{"PJSON_PAYLOAD": "{\"policyNumber\":9,\"recordCount\":0,\"success\":\"false\",\"message\":\"Invalid Call ID: 9\",\"batch_TimeStamp\":\"2026-06-12-17.46.08.515175\"}"}

During the debug session I look out the output and it looks like this:

{"PJSON_PAYLOAD": "{"policyNumber":9,"recordCount":0,"success":"false","message":"Invalid Call ID: 9","batch_TimeStamp":"2026-06-12-17.46.08.515175"}"}

Is there a web server or RPG option that I am not configuring correctly?

Thanks in advance

Angel