# SystemTextJsonSerializerExtensions.UseSystemTextJsonGrainStorageSerializer(ISiloBuilder)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.systemtextjsonserializerextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.systemtextjsonserializerextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Runtime/Hosting/SystemTextJsonSerializerExtensions.cs#L17-L18)

```csharp
public static ISiloBuilder UseSystemTextJsonGrainStorageSerializer(this ISiloBuilder siloBuilder)
```

Configures System.Text.Json as the default grain storage serializer.

### Parameters

- `siloBuilder` (`ISiloBuilder`): The silo builder to configure with System.Text.Json grain storage support.

### Returns

The silo builder.
