EnumPascalCaseConverter 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 Pascal cased string.
public class EnumPascalCaseConverter : EnumStringConverter { }
Properties
Type | Name | Summary |
---|---|---|
TextCasing | Casing (inherited from EnumStringConverter) |
The casing to be used when serializing to JSON. Default is PascalCase. |
bool | CanRead (inherited from JsonConverter ) | |
bool | CanWrite (inherited from JsonConverter ) |
Methods
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)
|
Inherited from EnumStringConverter |
Writes the JSON representation of the object. |