DiscriminatedTypeJsonConverter<TBase>.ReadJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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