// Create a new workbook Workbook workbook = new Workbook(); // /ToJson&FromJson can be used in combination with spread.sheets product //Document Solutions for Excel import an excel file. //change the path to real source file path. String source = "source.xlsx"; workbook.open(source); //Document Solutions for Excel export to a json string. String jsonstr = workbook.toJson(); //use the json string to initialize spread.sheets product. //spread.sheets will show the excel file contents. //spread.sheets product export a json string. //Document Solutions for Excel use the json string to initialize. workbook.fromJson(jsonstr); //Document Solutions for Excel export workbook to an excel file. //change the path to real export file path. String export = "export.xlsx"; workbook.save(export);