Convert-Excel-to-JSON

Convert Excel Workbook to JSON

No need to wonder how to convert an Excel workbook to JSON, because the Aspose.Cells for Python via Java library provides the best solution. The Aspose.Cells for Python via Java API provides support for converting spreadsheets to JSON format. To export the workbook to JSON, pass SaveFormat.JSON as the second parameter of Workbook.save method. You may also use JsonSaveOptions class to specify additional settings for exporting the worksheet to JSON.

The following code example demonstrates exporting an Excel workbook to JSON. Please see the code to convert the source file to the JSON file generated by the code for reference.

The following code example, which uses the JsonSaveOptions class to specify additional settings, demonstrates exporting an Excel workbook to JSON. Please see the code to convert the source file to the JSON file generated by the code for reference.