Enum ConstructorHandling
Specifies how constructors are used when initializing objects during deserialization by the JsonSerializer.
Namespace: Bayat.Json
Assembly: Bayat.Json.Runtime.dll
Syntax
public enum ConstructorHandling
Fields
Name | Description |
---|---|
AllowNonPublicDefaultConstructor | Json.NET will use a non-public default constructor before falling back to a paramatized constructor. |
Default | First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. |