# JsonDurableDictionaryCommandCodec&lt;TKey, TValue&gt;.JsonDurableDictionaryCommandCodec&lt;TKey, TValue&gt;(JsonSerializerOptions?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.json.jsondurabledictionarycommandcodec-2/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.json.jsondurabledictionarycommandcodec-2/constructors/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Journaling/Formats/Json/JsonDurableDictionaryCommandCodec.cs#L15-L19)

```csharp
public JsonDurableDictionaryCommandCodec<TKey, JsonDurableDictionaryCommandCodec(JsonSerializerOptions? options = null)
```

JSON codec for durable dictionary journal entries.

### Parameters

- `options` (`JsonSerializerOptions?`)

### Examples

```csharp
["set","alice",42]
            ["snapshot",[["alice",42]]]
```
