EnumStringConverter Class
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Converters.Enums |
---|---|
Assembly | Skybrud.Essentials.dll |
Visibility | Public |
Inheritance |
JSON converter for serializing an enum value into a corresponding string value.
public class EnumStringConverter : EnumBaseCaseConverter { }
Properties
Type | Name | Summary |
---|---|---|
TextCasing | Casing |
The casing to be used when serializing to JSON. Default is PascalCase. |
bool | CanRead (inherited from JsonConverter ) | |
bool | CanWrite (inherited from JsonConverter ) |
Methods
Writes the JSON representation of the object. |
Inherited from EnumBaseCaseConverter |
CanConvert(Type)
(virtual)
Determines whether this instance can convert the specified object type. |
Reads the JSON representation of the object. |
Inherited from JsonConverter |
GetSchema()
(virtual)
|