how to solve error “org.json.me.JSONException: A JSONObject text must begin with ‘{‘ at character 1 of [” in black berry
how to solve error org.json.me.JSONException: A JSONObject text must begin with ‘{‘ at character
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, the error is showing that you are getting the values in
JSONArrayand you are trying to get it inJSONObject, so change your JSONObject toJSONArraywhen you are getting the response.You might be getting output in
[] = JSONArraynot inHope it works thanks.