I am constructing an AsyncTask in android and I have passed a JSONObect to the doInBackground() method but when I try to run getString on it, it complains that getString can’t be run on a JSONObject[] object. This is a problem, anyone know how to get JSONObject[] to JSONObject?
I am constructing an AsyncTask in android and I have passed a JSONObect to
Share
JSONObject[]would indicate and array ofJSONObject. If you know there is only a single item in the array you can try calling it like myJsonObject[0]