List<Object> 转换 JSONArray
List<IsAddModel> isAddList = isAddService.selectAddList(type);
JSONArray jsonArray = JSONArray.parseArray(JSON.toJSONString(isAddList));
JSONArray 转换List<Object>
List<ProdTypeMappingBean> counts = JSONArray.parseArray(details.toString(), ProdTypeMappingBean.class);