Click or drag to resize
Json.NET

JsonConverterTReadJson Method (JsonReader, Type, T, Boolean, JsonSerializer)

 
Reads the JSON representation of the object.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public abstract T ReadJson(
	JsonReader reader,
	Type objectType,
	T existingValue,
	bool hasExistingValue,
	JsonSerializer serializer
)

Parameters

reader
Type: Newtonsoft.JsonJsonReader
The JsonReader to read from.
objectType
Type: SystemType
Type of the object.
existingValue
Type: T
The existing value of object being read. If there is no existing value then null will be used.
hasExistingValue
Type: SystemBoolean
The existing value has a value.
serializer
Type: Newtonsoft.JsonJsonSerializer
The calling serializer.

Return Value

Type: T
The object value.
See Also