摘要: 第一种: 需要导入的jar包: //调用Service层查询数据字典 List<BaseDict> list=baseDictService.getListByTypeCode(dict_code_type); //将list 转化为jsong格式 String json = JSONArray.f 阅读全文