Op Englesch liesen Editéieren

Deelen iwwer


JsonConverter<T>.HandleNull Property

Definition

Gets a value that indicates whether null should be passed to the converter on serialization, and whether Null should be passed on deserialization.

C#
public virtual bool HandleNull { get; }

Property Value

Remarks

The default value is true for converters for value types, and false for converters for reference types.

Applies to

Produkt Versiounen
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)