| StringEnumConverter Constructor (NamingStrategy, Boolean) |
Namespace:
Newtonsoft.Json.Converters
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public StringEnumConverter(
NamingStrategy namingStrategy,
bool allowIntegerValues = true
)
Parameters
- namingStrategy
- Type: Newtonsoft.Json.SerializationNamingStrategy
The naming strategy used to resolve how enum text is written. - allowIntegerValues (Optional)
- Type: SystemBoolean
true if integers are allowed when serializing and deserializing; otherwise, false.
See Also