CosmosClientBuilder.WithCustomSerializer(CosmosSerializer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set a custom JSON serializer.
public Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder WithCustomSerializer(Microsoft.Azure.Cosmos.CosmosSerializer cosmosJsonSerializer);
member this.WithCustomSerializer : Microsoft.Azure.Cosmos.CosmosSerializer -> Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithCustomSerializer (cosmosJsonSerializer As CosmosSerializer) As CosmosClientBuilder
- cosmosJsonSerializer
- CosmosSerializer
The custom class that implements CosmosSerializer
The CosmosClientBuilder object
Applies to
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: