ConstructorHandling Enumeration

Json.NET

Json.NET - Quick Starts & API Documentation ConstructorHandling Enumeration
NamespacesNewtonsoft.JsonConstructorHandling
Specifies how constructors are used when initializing objects during deserialization by the JsonSerializer.
Declaration Syntax
C# Visual Basic Visual C++
public enum ConstructorHandling
Public Enumeration ConstructorHandling
public enum class ConstructorHandling
Members
Member Description
Default First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor.
AllowNonPublicDefaultConstructor Json.NET will use a non-public default constructor before falling back to a paramatized constructor.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)