ExportRangeToJsonOptions

ExportRangeToJsonOptions class

Indicates the options that exporting range to json.

class ExportRangeToJsonOptions;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
getHasHeaderRow()Indicates whether the range contains header row.
setHasHeaderRow(boolean)Indicates whether the range contains header row.
getExportAsString()Exports the string value of the cells to json.
setExportAsString(boolean)Exports the string value of the cells to json.
getExportEmptyCells()Indicates whether exporting empty cells as null.
setExportEmptyCells(boolean)Indicates whether exporting empty cells as null.
getIndent()Indicates the indent.
setIndent(string)Indicates the indent.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

getHasHeaderRow()

Indicates whether the range contains header row.

getHasHeaderRow() : boolean;

setHasHeaderRow(boolean)

Indicates whether the range contains header row.

setHasHeaderRow(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getExportAsString()

Exports the string value of the cells to json.

getExportAsString() : boolean;

setExportAsString(boolean)

Exports the string value of the cells to json.

setExportAsString(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getExportEmptyCells()

Indicates whether exporting empty cells as null.

getExportEmptyCells() : boolean;

setExportEmptyCells(boolean)

Indicates whether exporting empty cells as null.

setExportEmptyCells(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getIndent()

Indicates the indent.

getIndent() : string;

Remarks

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

setIndent(string)

Indicates the indent.

setIndent(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

Remarks

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

isNull()

Checks whether the implementation object is null.

isNull() : boolean;