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

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
The best approach when using the JsonObject is to use the Write() methods. Def var lcData as longchar. myJson:Write(input-output lcdata). This should do the right thing. You can even Write() to the web-stream which will return the data via http. I misunderstood your email and that you were writing the JSON that way. GetJsonText() will always ‘stringify’ the json (ie escape things).

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