IJsonOnDeserializing Interface

Definition

Specifies that the type should have its OnDeserializing() method called before deserialization occurs.

C#
public interface IJsonOnDeserializing

Remarks

This behavior is only supported on types representing JSON objects. Types that have a custom converter or represent either collections or primitive values do not support this behavior.

Methods

OnDeserializing()

The method that is called before deserialization.

Applies to

Toode Versioonid
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)