EnumJsonConverter.ReadJson Method

Namespace:
Weavy.Core.Json
Assembly:
Weavy.Core.dll

ReadJson(JsonReader, Type, object, JsonSerializer)

Reads the JSON representation of the object.

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)

Parameters

reader
Newtonsoft.Json.JsonReader

The Newtonsoft.Json.JsonReader to read from.

objectType
System.Type

Type of the object.

existingValue
object

The existing value of object being read.

serializer
Newtonsoft.Json.JsonSerializer

The calling serializer.

Returns

object

The object value.