[Progress Communities] [Progress OpenEdge ABL] Forum Post: How to handle the escape-character in json-string

  • Thread starter Thread starter DenDuze
  • Start date Start date
Status
Not open for further replies.
D

DenDuze

Guest
Hi, I guess this will be a stupid question and an easy solution is available .... I have a memprt with a json-string that I got back from a service. In that json-string we have data where escape-characters are used, like \" wheels or display 19\". When I'm processing that data of course I do not want that these characters are written ro the DB. So how can I remove these escape-characters in a json-string (processed by the ObjectModelParser)? I could always use assing ... = replace(json-string value, '\"', '"'). But that's not really a good idea because I would need to do that on every string-value that I get from that json while processing that json (I never know if a value can and will contain this escape-character) I guess there will be some easy solution to this but I can't find it Regards Didier

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