Enum ConstructorHandling
- Namespace
- Dynamicweb.Core.Json.Settings
- Assembly
- Dynamicweb.Core.dll
Specifies how constructors are used when initializing objects during deserialization by the .
public enum ConstructorHandling
Fields
AllowNonPublicDefaultConstructor = 1
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
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.