{
"a" : "Test",
"b" : "Got you", /** This data is easily parsable*/
"c" : "Hello \"Test\" there is a problem" /** Not able to parse this data */
}
I need to parse a data with double quotes inside the value of a json object.
I tried JSONObject messageJson = new JSONObject(jsonString); it unescapes the "\"" and converts it to " " ". So it isn't helping me. Also I used ObjectMapper from jackson which couldn't map the value to the pojo object due to it " \" ".