
## PivotViewToJsonOptions class

The options of exporting pivot view as json.

```javascript
class PivotViewToJsonOptions;
```


## Constructors

| Constructor | Description |
| --- | --- |
| [constructor()](#constructor--)| The options for exporting pivot view to JSON. |

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [fileName](#fileName--)| string | Gets and sets the file which stores exported JSON. |
| [indent](#indent--)| string | Indicates the indent. |

## Methods

| Method | Description |
| --- | --- |
| [getFileName()](#getFileName--)| <b>@deprecated.</b> Please use the 'fileName' property instead. Gets and sets the file which stores exported JSON. |
| [setFileName(string)](#setFileName-string-)| <b>@deprecated.</b> Please use the 'fileName' property instead. Gets and sets the file which stores exported JSON. |
| [getIndent()](#getIndent--)| <b>@deprecated.</b> Please use the 'indent' property instead. Indicates the indent. |
| [setIndent(string)](#setIndent-string-)| <b>@deprecated.</b> Please use the 'indent' property instead. Indicates the indent. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |


### constructor() {#constructor--}

The options for exporting pivot view to JSON.

```javascript
constructor();
```


### fileName {#fileName--}

Gets and sets the file which stores exported JSON.

```javascript
fileName : string;
```


### indent {#indent--}

Indicates the indent.

```javascript
indent : string;
```


**Remarks**

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

### getFileName() {#getFileName--}

<b>@deprecated.</b> Please use the 'fileName' property instead. Gets and sets the file which stores exported JSON.

```javascript
getFileName() : string;
```


### setFileName(string) {#setFileName-string-}

<b>@deprecated.</b> Please use the 'fileName' property instead. Gets and sets the file which stores exported JSON.

```javascript
setFileName(value: string) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | string | The value to set. |

### getIndent() {#getIndent--}

<b>@deprecated.</b> Please use the 'indent' property instead. Indicates the indent.

```javascript
getIndent() : string;
```


**Remarks**

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

### setIndent(string) {#setIndent-string-}

<b>@deprecated.</b> Please use the 'indent' property instead. Indicates the indent.

```javascript
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() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



