Json

Convert Excel Workbook to JSON

The Aspose.Cells for Python via .NET 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 worksheet to JSON.

The following code example demonstrates exporting active worksheet to Json by using SaveFormat.JSON enumeration member. Please see the code to convert source file to the output Json file generated by the code for reference.

Advance topics