You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > ConstructorHandling Enumeration
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Stimulsoft.Base.Json.ConstructorHandling Enumeration

Specifies how constructors are used when initializing objects during deserialization by the JsonSerializer.

Syntax
C++
C#
Visual Basic
public: enum ConstructorHandling { Default = 0, AllowNonPublicDefaultConstructor = 1 };
Members
Members 
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.  
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.