サーバーから次のString応答が返ってきました。
{"fid":"1272","uri":"http://someurl/services/file/1272"}
に変換する必要がありJSONArrayます。何か助けはありますか?
ちなみに、私はこれを試しましたが、うまくいきません:
String response=getResponseFromServer();
JSONArray array = new JSONArray(response);
エラーが発生します:
org.json.JSONException: Value {"fid":"1272","uri":"http://someurl/services/file/1272"} of type org.json.JSONObject cannot be converted to JSONArray