ExportRangeToJsonOptions

ExportRangeToJsonOptions class

Indicates the options that exporting range to json.

class ExportRangeToJsonOptions;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
hasHeaderRowbooleanIndicates whether the range contains header row.
exportAsStringbooleanExports the string value of the cells to json.
exportEmptyCellsbooleanIndicates whether exporting empty cells as null.
indentstringIndicates the indent.

constructor()

Default Constructor.

constructor();

hasHeaderRow

Indicates whether the range contains header row.

hasHeaderRow : boolean;

exportAsString

Exports the string value of the cells to json.

exportAsString : boolean;

exportEmptyCells

Indicates whether exporting empty cells as null.

exportEmptyCells : boolean;

indent

Indicates the indent.

indent : string;

Remarks

If the indent is null or empty, the exported json is not formatted.