Table of Contents

Class JsonStringEnumPascalCaseConverterAttribute

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

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
object
Attribute
JsonAttribute
JsonConverterAttribute
JsonStringEnumPascalCaseConverterAttribute
Extension Methods

Constructors

JsonStringEnumPascalCaseConverterAttribute()

public JsonStringEnumPascalCaseConverterAttribute()

Methods

CreateConverter(Type)

public override JsonConverter CreateConverter(Type typeToConvert)

Parameters

typeToConvert Type

Returns

JsonConverter