PolymorphicJsonCustomConverter<T1,T2>.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.
Reads the JSON representation of the 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.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 object value.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.