Table of Contents

Interface IJsonSerializer

Namespace
Ecng.Serialization
Assembly
Ecng.Serialization.dll

Provides JSON serialization settings.

public interface IJsonSerializer
Extension Methods

Properties

BufferSize

Gets or sets the buffer size used during serialization and deserialization.

int BufferSize { get; set; }

Property Value

int

Encoding

Gets or sets the text encoding used for serialization.

Encoding Encoding { get; set; }

Property Value

Encoding

EncryptedAsByteArray

Gets or sets a value indicating whether encrypted values are handled as byte arrays.

bool EncryptedAsByteArray { get; set; }

Property Value

bool

EnumAsString

Gets or sets a value indicating whether enums should be serialized as strings.

bool EnumAsString { get; set; }

Property Value

bool

FillMode

Gets or sets a value indicating whether the fill mode is enabled.

bool FillMode { get; set; }

Property Value

bool

Indent

Gets or sets a value indicating whether the JSON output should be indented.

bool Indent { get; set; }

Property Value

bool

NullValueHandling

Gets or sets the null value handling option for JSON serialization.

NullValueHandling NullValueHandling { get; set; }

Property Value

NullValueHandling