Json.NET - Quick Starts & API Documentation
ConstructorHandling Enumeration
Namespaces ► Newtonsoft.Json ► ConstructorHandling
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.
|
AllowNonPublicDefaultConstructor |
Allow Json.NET to use a non-public default constructor.
|