I want to write something like this 1/2
JSONObject requestJson =
new JSONObject().put("method", "setShutterSpeed")
.put("params", new JSONArray().put('1' + "\\" + '/' + '2'))
.put("id", id()).put("version", "1.0");
String url = findActionListUrl(service) + "/" + service;
But everything I tried fails. I always receive something like that:
{"id":14,"method":"setShutterSpeed","version":"1.0","params":["1\\\/2"]}
I try to use the sony cameraremote API with this JSON call