Summary
Reads the JSON representation of the object.
- Assembly
- Rocket
.Surgery .Extensions .Unions .dll - Namespace
- Rocket
.Surgery .Unions - Containing Type
- UnionConverter
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. |