I am getting a exception while working in json . My JSONPresr class is as follow import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONException; import org.json.JSONObject; import android.os.AsyncTask; import android.util.Log; public class JSONParser { static InputStream is = null; static JSONObject [...]
The post org.json.JSONObject cannot be converted to JSONArray appeared first on BlogoSfera.