## GridJsWorkbook.ExportToJsonStringBuilder method

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

```csharp
public StringBuilder ExportToJsonStringBuilder(string filename, string uid = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filename | String | Specifies the file name in the JSON. If set to null,the default filename is: book1.. |
| uid | String | Optional unique id for JSON cache. If provided and cache is enabled, will check/Update cache. |

### Return Value

The JSON StringBuilder.

### See Also

* class [GridJsWorkbook](../)
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
* assembly [Aspose.Cells.GridJs](../../../)


