Compartilhar via


DiscriminatedTypeJsonConverter<TBase>.ReadJson Method

Definition

Newtonsoft.Json.JsonConverter`1.ReadJson(Newtonsoft.Json.JsonReader,System.Type,`0,System.Boolean,Newtonsoft.Json.JsonSerializer)
public:
 override TBase ReadJson(Newtonsoft::Json::JsonReader ^ reader, Type ^ objectType, TBase existingValue, bool hasExistingValue, Newtonsoft::Json::JsonSerializer ^ serializer);
public override TBase? ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, TBase? existingValue, bool hasExistingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * 'Base * bool * Newtonsoft.Json.JsonSerializer -> 'Base
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As TBase, hasExistingValue As Boolean, serializer As JsonSerializer) As TBase

Parameters

reader
Newtonsoft.Json.JsonReader
objectType
Type
existingValue
TBase
hasExistingValue
Boolean
serializer
Newtonsoft.Json.JsonSerializer

Returns

TBase

Applies to