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 a worksheet to JSON.

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

Advanced topics

  • Convert CSV to JSON
  • Convert-Excel-to-JSON
  • Convert JSON to CSV
  • Convert-JSON-to-Excel