ExportRangeToJsonOptions
Contents
[
Hide
]ExportRangeToJsonOptions class
Indicates the options that exporting range to json.
class ExportRangeToJsonOptions;
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | boolean | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean | The 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:
Parameter | Type | Description |
---|---|---|
value | string | The 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;