[progress Communities] [progress Openedge Abl] Forum Post: Re: Pasoe Webhandler Escaping...

Status
Not open for further replies.
D

davez

Guest
Peter, I'm actually reading data. I have the webhandler request content in a JSON object and I'm reading data values with the GetJsonText() (and now GetCharacter() ) methods. If the request has this content: {"FieldValue": "11/30/2016"} then reading it like this: val = oRequest:GetJsonText("FieldValue"). gives me "11\/30\/2016" with escaped slashes. But reading it like this: val = oRequest:GetCharacter("FieldValue"). gives me the correct "11/30/2016". I'm using a WebResponseWriter to send back data, and that uses the Write() method.

Continue reading...
 
Status
Not open for further replies.
Top