How to escape double quotes from the value of a JSON field

Hi All,

We are getting data from Sharepoint using a!httpQuery in json format and then converting it to appian value using a!fromJson to use in the application. It all works fine except for the scenario where the value for a json field has some word with double quotes.

For Ex:

{"Title":"This is an "example" to show the issue",

"Name":"Some value",

"Created":"9/25/2017 8:49:53 AM"

}

In the above code snippet, the issue happens as example is in double quotes. We cannot restrict the source system, so we have to take care of it on our end. 

How can we escape the double quotes here.

Any response is appreciated. Thanks in advance.

  Discussion posts and replies are publicly visible