Search code examples
jsonbackslash

JSON array is unable to transmit a String having backslash


i am tranmitting a message via JSONArray but getting reponse code 500. reason is that My Message String contains a character '\'.

String s="apples $54\KG"


Solution

  • back slash charahter is not supproted by GSM.