Type type = new TypeToken<List<Catys>>() { }.getType(); List<Catys> catys = new Gson().fromJson(con, type);