---
title: "GridJsWorkbook.GetJsonByUid"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridjs/gridjsworkbook/getjsonbyuid/"
product: "Aspose.Cells for .NET API Reference"
description: "GridJsWorkbook method. Gets the JSON string of the file from the cache using the specified unique idset the output filename in the JSON"
---

## GridJsWorkbook.GetJsonByUid method

Gets the JSON string of the file from the cache using the specified unique id,set the output filename in the JSON.

```csharp
public StringBuilder GetJsonByUid(string uid, string filename)
```

| Parameter | Type | Description |
| --- | --- | --- |
| uid | String | The unique id for the file cache. |
| filename | String | Specifies the file name in the JSON. If set to null,the default filename is: book1. |

### Return Value

The JSON string StringBuilder

### See Also

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


