ReadJson() public méthode

Reads the JSON representation of the object.
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader JsonReader The to read from.
objectType System.Type Type of the object.
existingValue object The existing value of object being read.
serializer JsonSerializer The calling serializer.
Résultat object
Exemple #1
0
 /// <summary>Reads the JSON representation of the object.</summary>
 /// <param name="reader">The <see cref="JsonReader"/> to read from.</param>
 /// <param name="objectType">Type of the object.</param>
 /// <param name="existingValue">The existing value of object being read.</param>
 /// <param name="serializer">The calling serializer.</param>
 /// <returns>The object value.</returns>
 public override Object ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
 {
     return(s_dtConverter.ReadJson(reader, objectType, existingValue, serializer));
 }