Click or drag to resize
Json.NET

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: 11.0.1
Syntax
C#
public enum ConstructorHandling
Members
  Member nameValueDescription
Default0 First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
AllowNonPublicDefaultConstructor1 Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
See Also