Class JsonSaveOptions

JsonSaveOptions class

Represents the options of saving the workbook as a json file.

public class JsonSaveOptions : SaveOptions


JsonSaveOptions()Creates options for saving json file.


AlwaysExportAsJsonObject { get; set; }Indicates whether always exporting excel to json as object, even there is only a worksheet in the file.
CachedFileFolder { get; set; }The cached file folder is used to store some large data.(Inherited from SaveOptions.)
ClearData { get; set; }Make the workbook empty after saving the file.(Inherited from SaveOptions.)
CreateDirectory { get; set; }If true and the directory does not exist, the directory will be automatically created before saving the file.(Inherited from SaveOptions.)
ExportArea { get; set; }Gets or sets the exporting range.
ExportAsString { get; set; }Exports the string value of the cells to json.
ExportEmptyCells { get; set; }Indicates whether exporting empty cells as null.
ExportHyperlinkType { get; set; }Represents the type of exporting hyperlink to json.
ExportNestedStructure { get; set; }Exported as parent-child hierarchy Json structure.
HasHeaderRow { get; set; }Indicates whether the range contains header row.
Indent { get; set; }Indicates the indent.
MergeAreas { get; set; }Indicates whether merge the areas of conditional formatting and validation before saving the file.(Inherited from SaveOptions.)
RefreshChartCache { get; set; }Indicates whether refreshing chart cache data(Inherited from SaveOptions.)
SaveFormat { get; }Gets the save file format.(Inherited from SaveOptions.)
SheetIndexes { get; set; }Represents the indexes of exported sheets.
SkipEmptyRows { get; set; }Indicates whether skipping emtpy rows.
SortExternalNames { get; set; }Indicates whether sorting external defined names before saving file.(Inherited from SaveOptions.)
SortNames { get; set; }Indicates whether sorting defined names before saving file.(Inherited from SaveOptions.)
UpdateSmartArt { get; set; }Indicates whether updating smart art setting. The default value is false.(Inherited from SaveOptions.)
ValidateMergedAreas { get; set; }Indicates whether validate merged cells before saving the file.(Inherited from SaveOptions.)
WarningCallback { get; set; }Gets or sets warning callback.(Inherited from SaveOptions.)

See Also