UnixDateTimeConverter.ReadJson Method

Definition

Reads the JSON representation of the DateTime object.

public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
Parameters
reader
Newtonsoft.Json.JsonReader

The Newtonsoft.Json.JsonReader to read from.

objectType
Type

Type of the object.

existingValue
Object

The existing value of object being read.

serializer
Newtonsoft.Json.JsonSerializer

The calling serializer.

Returns

The DateTime object value.