{ \"204\": { \"host\": \"https:\\/\\/abc.com\\/production-source\\/ChangSha\\/2013\\/12\\/02\\/0\\/0\\/A\\/Content\\/\", \"timestamp\": 138590988
Here you are trying to get JSONArray but in json response it is JSONObject.
JSONArray
JSONObject
Use following code.
JSONObject issueObject = new JSONObject(jsonContent); String _pubKey = issueObject.getString(0);