在这里,我得到了一个java.lang.String类型的值数据库,当我尝试运行以下代码时,不能将它转换为JSONObject错误,我无法理解这里的其他答案。﹕ org.json.JSONException: Value Database of type java.lang.String cannot be converted to JSONObjectW/System.err﹕ at
;import org.json.JSONObject;
public classSystem.err: org.json.JSONException: Value [] at 0 of type org.json.JSONArray cannot be converted to JSONObjectW/Syst
System.err(20673): org.json.JSONException: Value [{"id":"408","datum":"24.01.14 17:11","punktezahl":"cannot be converted to JSONObject
01-24 18:18:21.746: W/System.err(20673): at org.
我正在尝试从服务器获得JSON响应,然后在我的android中显示它,但是由于解析错误而失败了
由: org.json.JSONException: Value {"Result":"Login“、"User_Name:":"Ayan"}引起的org.json.JSONArray类型的Android错误不能转换为JSONObject
我收到以下错误:
org.json.JSONException: Value test( of type java.lang.String cannot be converted to JSONObject07-18 18:58:11.424 25827-25827/com.adeel.android.flightdemo W/System.err: org.json.JSONException: Value test( of type j