Object轉list,拿原來實體類的屬性值

Object object = map.get("Customerlist"); List<CustomerVo> vos = new Gson().fromJson(new Gson().toJson(object), new TypeToken<List<CustomerVo>>(){}.getType()); for (CustomerVo vo : vos) {
相關文章
相關標籤/搜索