Class JsonStringEnumPascalCaseConverterAttribute
Enum type annotated with this attribute will be serialized by the name with pascal-case notation.
[AttributeUsage(AttributeTargets.Enum, AllowMultiple = false)]
public sealed class JsonStringEnumPascalCaseConverterAttribute : JsonConverterAttribute
- Inheritance
-
objectAttributeJsonAttributeJsonConverterAttributeJsonStringEnumPascalCaseConverterAttribute
- Extension Methods
Constructors
JsonStringEnumPascalCaseConverterAttribute()
public JsonStringEnumPascalCaseConverterAttribute()
Methods
CreateConverter(Type)
public override JsonConverter CreateConverter(Type typeToConvert)
Parameters
typeToConvert
Type
Returns
- JsonConverter