Published on InterSystems Developer Community (https://community.intersystems.com)

Home > translation of data ready to push to and from a JSON restAPI

Question
Kevin Furze · Mar 16, 2018

translation of data ready to push to and from a JSON restAPI

most of my jSON data is single words, but when it comes to sending chunks of a memo/email via JSON, that totally different

which is the correct conversion process to prepare data ready to insert into the data part of a JSON string so that all problem characters are converted

JSON of course crashes if you use the wrong format of quotes (single or double) and you ned up having to use &QUOT and \' to get around that but is there a simple call to something that will just take care of preparing the data from the JSON string both on the inward and outward part of JSON

kevin

#JSON #Caché

Source URL:https://community.intersystems.com/post/translation-data-ready-push-and-json-restapi