Constructors
-
String
Enum Initializes a new instance of the StringEnumConverter class.Converter() -
String
Enum Initializes a new instance of the StringEnumConverter class.Converter(Boolean) -
String
Enum Initializes a new instance of the StringEnumConverter class.Converter(Naming Strategy, Boolean) -
String
Enum Initializes a new instance of the StringEnumConverter class.Converter(Type) -
String
Enum Initializes a new instance of the StringEnumConverter class.Converter(Type, Object[]) -
String
Enum Initializes a new instance of the StringEnumConverter class.Converter(Type, Object[], Boolean)
Methods
-
Can
Convert(Type) virtual Determines whether this instance can convert the specified object type. -
Read
Json(Json virtual Reads the JSON representation of the object.Reader, Type, Object, Json Serializer) -
Write
Json(Json virtual Writes the JSON representation of the object.Writer, Object, Json Serializer)
Properties
-
Allow
Integer Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. The default value is true.Values -
Camel
Case Gets or sets a value indicating whether the written enum text should be camel case. The default value is false.Text -
Naming
Strategy Gets or sets the naming strategy used to resolve how enum text is written.