EnumExpressionConverter<T>.ReadJson(JsonReader, Type, EnumExpression<T>, Boolean, JsonSerializer) Methode

Definition

Liest die JSON-Darstellung des Objekts.Reads the JSON representation of the object.

public override AdaptiveExpressions.Properties.EnumExpression<T> ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, AdaptiveExpressions.Properties.EnumExpression<T> existingValue, bool hasExistingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)> * bool * Newtonsoft.Json.JsonSerializer -> AdaptiveExpressions.Properties.EnumExpression<'T (requires 'T : struct)>
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As EnumExpression(Of T), hasExistingValue As Boolean, serializer As JsonSerializer) As EnumExpression(Of T)

Parameter

reader
Newtonsoft.Json.JsonReader

Der Newtonsoft.Json.Jsonreader, aus dem gelesen werden soll.The Newtonsoft.Json.JsonReader to read from.

objectType
Type

Typ des Objekts.Type of the object.

existingValue
EnumExpression<T>

Der vorhandene Wert des Objekts, das gelesen wird.The existing value of object being read.

hasExistingValue
Boolean

Ein boolescher Wert, der angibt, ob ein vorhandener Wert des zu lesenden Objekts vorhanden ist.A boolean value indicating whether there is an existing value of object to be read.

serializer
Newtonsoft.Json.JsonSerializer

Das aufrufende Serialisierungsprogramm.The calling serializer.

Gibt zurück

EnumExpression<T>

Eine enumexpression-Instanz.An EnumExpression instance.

Gilt für: