Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum Newtonsoft.​Json.​ConstructorHandling

Assembly: Newtonsoft.Json

Specifies how constructors are used when initializing objects during deserialization by the <see cref="T:Newtonsoft.Json.JsonSerializer" /> .

Values

Default
First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
AllowNonPublicDefaultConstructor
Json.NET will use a non-public default constructor before falling back to a parameterized constructor.