PivotViewToJsonOptions

PivotViewToJsonOptions class

The options of exporting pivot view as json.

class PivotViewToJsonOptions;

Constructors

ConstructorDescription
constructor()The options for exporting pivot view to JSON.

Properties

PropertyTypeDescription
fileNamestringGets and sets the file which stores exported JSON.
indentstringIndicates the indent.

Methods

MethodDescription
getFileName()@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.
setFileName(string)@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.
getIndent()@deprecated. Please use the ‘indent’ property instead. Indicates the indent.
setIndent(string)@deprecated. Please use the ‘indent’ property instead. Indicates the indent.
isNull()Checks whether the implementation object is null.

constructor()

The options for exporting pivot view to JSON.

constructor();

fileName

Gets and sets the file which stores exported JSON.

fileName : string;

indent

Indicates the indent.

indent : string;

Remarks

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

getFileName()

@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.

getFileName() : string;

setFileName(string)

@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.

setFileName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getIndent()

@deprecated. Please use the ‘indent’ property instead. Indicates the indent.

getIndent() : string;

Remarks

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

setIndent(string)

@deprecated. Please use the ‘indent’ property instead. 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;