[]
        
(Showing Draft Content)

C1.JsonNet.Converters.EnumToStringConverter

EnumToStringConverter Class

Defines a class which converts the value of Enum type to String with or without camel case

Inheritance
EnumToStringConverter
Namespace: C1.JsonNet.Converters
Assembly: C1.Web.Mvc.dll
Syntax
public class EnumToStringConverter : JsonConverter

Constructors

Name Description
EnumToStringConverter()

Initializes a new instance of the EnumToStringConverter class.

Properties

Name Description
CamelCaseText

Gets or sets a value indicating whether the written enum text should be camel case.

Methods

Name Description
CanConvert(Type)

Gets whether the converter is supported.

ReadJson(JsonReader, Type, object)

Deserialize the object.

WriteJson(JsonWriter, object)

Serialize the value.