Click or drag to resize

MFEnumJsonConverter Class

Converts MFilesAPI enums to between their standard values and their custom json serialized forms.
Inheritance Hierarchy
SystemObject
  JsonConverter
    MFiles.VAF.Configuration.JsonAdaptorMFEnumJsonConverter

Namespace:  MFiles.VAF.Configuration.JsonAdaptor
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
public class MFEnumJsonConverter : JsonConverter

The MFEnumJsonConverter type exposes the following members.

Constructors
  NameDescription
Public methodMFEnumJsonConverter
Constructor.
Top
Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether this JsonConverter can read JSON.
(Inherited from JsonConverter.)
Public propertyCanWrite
Gets a value indicating whether this JsonConverter can write JSON.
(Inherited from JsonConverter.)
Top
Methods
  NameDescription
Public methodCanConvert
Determines whether this instance can convert the specified object type.
(Overrides JsonConverter.CanConvert(Type).)
Public methodStatic memberGetEnumName
Returns the serializable name of an enum value.
Public methodStatic memberGetEnumValue
Returns the value of an enum by the serializable name.
Public methodReadJson
Reads the JSON representation of the object.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).)
Public methodWriteJson
Writes the JSON representation of the object.
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).)
Top
See Also