Web output is escaping quotes --> \"

Discussions relating to the ScottKlement.com port of the open source YAJL JSON Reader/Generator. This includes the YAJL tool as well as the YAJLR4, YAJLGEN, YAJLINTO and YAJLDTAGEN add-ons from ScottKlement.com. http://www.scottklement.com/yajl/
Post Reply
AngelBermudez
Posts: 1
Joined: Fri Jun 12, 2026 10:44 pm

Web output is escaping quotes --> \"

Post 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
Post Reply