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
Encoding
Gets or sets the text encoding used for serialization.
Encoding Encoding { get; set; }
Property Value
EncryptedAsByteArray
Gets or sets a value indicating whether encrypted values are handled as byte arrays.
bool EncryptedAsByteArray { get; set; }
Property Value
EnumAsString
Gets or sets a value indicating whether enums should be serialized as strings.
bool EnumAsString { get; set; }
Property Value
FillMode
Gets or sets a value indicating whether the fill mode is enabled.
bool FillMode { get; set; }
Property Value
Indent
Gets or sets a value indicating whether the JSON output should be indented.
bool Indent { get; set; }
Property Value
NullValueHandling
Gets or sets the null value handling option for JSON serialization.
NullValueHandling NullValueHandling { get; set; }
Property Value
- NullValueHandling