Convert Workbook to JSON with Golang via C++
Contents
[
Hide
]
Aspose.Cells supports converting a workbook to JSON (JavaScript Object Notation) file.
Convert Excel Workbook to JSON
The Aspose.Cells API provides support for converting spreadsheets to JSON format. To export the workbook to JSON, pass SaveFormat::Json as the second parameter of the Workbook::Save method. You may also use the JsonSaveOptions class to specify additional settings for exporting the worksheet to JSON.
The following code example demonstrates exporting the active worksheet to JSON by using the SaveFormat::Json enumeration member. Please see the code to convert source file to the output JSON file generated by the code for reference.