UnionConverter.

ReadJson(JsonReader, Type, object, JsonSerializer) Method

Summary

Reads the JSON representation of the object.

Syntax

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)

Parameters

Name Type Description
reader JsonReader The Newtonsoft.Json.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

Type Description
object The object value.