org.json.JSONException: End of input at character

前端 未结 9 1128
南旧
南旧 2020-12-03 18:42

when I try to get json that doesn\'t have object, it works fine. but when I try go get json that has an object it\'s getting error.

Have you got any idea?

         


        
9条回答
  •  無奈伤痛
    2020-12-03 19:04

    carid = new ArrayList();
            carlogo = new ArrayList();
            carname = new ArrayList();
            prize = new ArrayList();
            availibility = new ArrayList();
    
            ListView carlist=(ListView)findViewById(R.id.listcardetails);
            adapter=new CustomAdapter(this, carid, carlogo, carname, prize, availibility);
            carlist.setAdapter(adapter);
    

提交回复
热议问题