
## export_to_json(self) {#}

Gets JSON string from memory data, the default filename in the JSON is: book1.


### Returns 


The JSON string.


```python

def export_to_json(self):
    ...
```




## export_to_json(self, filename) {#System.String}

Gets JSON  string from memory data,set the output filename in the JSON.


### Returns 


The JSON string.


```python

def export_to_json(self, filename):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| filename | System.String | Specifies the file name in the JSON. If set to null,the default filename is: book1.. |



### See Also
* module [`aspose.cellsgridjs`](../../)
* class [`GridJsWorkbook`](/cells/python-net/aspose.cellsgridjs/gridjsworkbook)
