Class LowerCaseStringEnumConverter

Json Converter for enum values that is sent as lower cased string

Inheritance
System.Object
LowerCaseStringEnumConverter
Namespace: EPiServer.Framework.Serialization.Json
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public class LowerCaseStringEnumConverter : CasedStringEnumConverter
Examples

AnyEnum.EnumValue is converted to "enumvalue" in Json objects

Constructors

LowerCaseStringEnumConverter()

Declaration
public LowerCaseStringEnumConverter()

Methods

FormatValueString(String)

Formast the value to lower case

Declaration
protected override string FormatValueString(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
System.String
Overrides