Accepted answer

insted of adding List i have added JsonArray and i have converted to my my list of object type using is working fine

 new Response.Listener<JsonArray>() {
                                public void onResponse(JsonArray json) {
                                    Gson gson=new Gson();
                                    TypeToken<List<Vehicle>> token = new TypeToken<List<Vehicle>>(){};
                                    List<Vehicle> personList = gson.fromJson(json, token.getType());
                                    Log.d("TAG","ReLs:: "+personList.get(0).getVehicleType());
                                    Toast.makeText(getApplicationContext(),personList.get(0).getVehicleType(), Toast.LENGTH_SHORT).show();

Related Query

More Query from same tag