# AzureQueueJsonDataAdapterOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.streaming.azurestorage.providers.streams.azurequeue.json.azurequeuejsondataadapteroptions/)

## EnableFallback {#enablefallback-ee3f5936}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.streaming.azurestorage.providers.streams.azurequeue.json.azurequeuejsondataadapteroptions/properties/enablefallback-ee3f5936/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/Json/AzureQueueJsonDataAdapterOptions.cs)

```csharp
public bool EnableFallback
```

Gets or sets a value indicating whether to enable fallback to binary serialization when JSON serialization fails. Default is true.

## PreferJson {#preferjson-33e58fa3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.streaming.azurestorage.providers.streams.azurequeue.json.azurequeuejsondataadapteroptions/properties/preferjson-33e58fa3/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/Json/AzureQueueJsonDataAdapterOptions.cs)

```csharp
public bool PreferJson
```

Gets or sets a value indicating whether to prefer JSON serialization/deserialization first, then fallback to binary. When false, it will try binary serialization/deserialization first, then fallback to JSON.
