| ConstructorHandling Enumeration |
Specifies how constructors are used when initializing objects during deserialization by the
JsonSerializer.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public enum ConstructorHandling
Members
| Member name | Value | Description |
---|
| Default | 0 |
First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
|
| AllowNonPublicDefaultConstructor | 1 |
Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
|
See Also