Json.NET - Quick Starts & API Documentation
ReadJson Method (reader, objectType, existingValue, serializer)
Namespaces ► Newtonsoft.Json.Converters ► CustomCreationConverter<(Of <(<'T>)>)> ► ReadJson(JsonReader, Type, Object, JsonSerializer)
Reads the JSON representation of the object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override Object ReadJson( JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer )
Public Overrides Function ReadJson ( _ reader As JsonReader, _ objectType As Type, _ existingValue As Object, _ serializer As JsonSerializer _ ) As Object
public: virtual Object^ ReadJson( JsonReader^ reader, Type^ objectType, Object^ existingValue, JsonSerializer^ serializer ) override
Parameters
- reader (JsonReader)
- The JsonReader to read from.
- objectType (Type)
- Type of the object.
- existingValue (Object)
- The existing value of object being read.
- serializer (JsonSerializer)
- The calling serializer.
Return Value
The object value.