| StringEnumConverter Constructor (Type, Object, Boolean) |
Namespace:
Newtonsoft.Json.Converters
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public StringEnumConverter(
Type namingStrategyType,
Object[] namingStrategyParameters,
bool allowIntegerValues
)
Parameters
- namingStrategyType
- Type: SystemType
The Type of the NamingStrategy used to write enum text. - namingStrategyParameters
- Type: SystemObject
The parameter list to use when constructing the NamingStrategy described by namingStrategyType.
If null, the default constructor is used.
When non-null, there must be a constructor defined in the NamingStrategy that exactly matches the number,
order, and type of these parameters.
- allowIntegerValues
- Type: SystemBoolean
true if integers are allowed when serializing and deserializing; otherwise, false.
See Also