Compartir a través de


DateConverter.ReadJson(JsonReader, Type, Object, JsonSerializer) Method

Definition

Converts the JSON object into a Date object

public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * obj * Newtonsoft.Json.JsonSerializer -> obj
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As Object, serializer As JsonSerializer) As Object

Parameters

reader
Newtonsoft.Json.JsonReader

The Newtonsoft.Json.JsonWriter to read from.

objectType
Type

The object type.

existingValue
Object

The existing value.

serializer
Newtonsoft.Json.JsonSerializer

The serializer to convert the object with.

Returns

Applies to