Udostępnij za pośrednictwem


CosmosSerializationOptions Class

Definition

This class provides a way to configure basic serializer settings.

public sealed class CosmosSerializationOptions
type CosmosSerializationOptions = class
Public NotInheritable Class CosmosSerializationOptions
Inheritance
CosmosSerializationOptions

Constructors

CosmosSerializationOptions()

Create an instance of CosmosSerializationOptions with the default values for the Cosmos SDK

Properties

IgnoreNullValues

Gets or sets if the serializer should ignore null properties

Indented

Gets or sets if the serializer should use indentation

PropertyNamingPolicy

Gets or sets whether the naming policy used to convert a string-based name to another format, such as a camel-casing format.

Applies to