json转excel

                    String workbook=IbnrCoreTools.joinWorkBook(workbookList,taskcodeid);
					Workbook wb=new Workbook();
					wb.fromJson(workbook);
					String basePath=FileInfoUtils.getFileRootPath();
					String baseDir=basePath+File.separator+taskcodeid+".xlsx";
					wb.save(new FileOutputStream(new File(baseDir)));
			 		wb.open(new FileInputStream(new File(baseDir)));
					workbook=wb.toJson();

 

你可能感兴趣的:(java,java,json,excel)