I'm just recogniced that this code:
try {
String jsonString =new JSONObject().put("test","Ha/llo").toString();
} catch (JSONException e) {
e.printStackTrace();
}
ouputs the following:
{"test":"Ha\ /llo"}
Does someone knows why it puts an \ for each / ? And how to get the real String? My Strings i want to put are supposed to be big, so I dont want to search for \ to change it to ' '
Edit: .get decodes it again and removes the extra '\' in my case is was an server side problem.