How can i remove special character "\" in the string below:
String x = {
"message": {
"@content": "toom"
},
"recipients": "[{\"@id\":\"1000001865\"}]",
"room": {
"@subject": "room"
}
}
I used x.replaceAll("\\","") but it does not work.