DerivedTypeConverter Class

Definition

Handles resolving interfaces to the correct derived class during serialization/deserialization.

public class DerivedTypeConverter : Newtonsoft.Json.JsonConverter
type DerivedTypeConverter = class
    inherit JsonConverter
Public Class DerivedTypeConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
DerivedTypeConverter

Constructors

DerivedTypeConverter()

Constructs a new DerivedTypeConverter.

Properties

CanWrite

Checks if the entity supports write. Currently no derived types support write.

Methods

CanConvert(Type)

Checks if the given object can be converted. In this instance, all object can be converted.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Deserializes the object to the correct type.

WriteJson(JsonWriter, Object, JsonSerializer)

Not yet implemented

Applies to