Method | Description | |
---|---|---|
CanConvert ( System objectType ) : bool | ||
JsonInheritanceConverter ( ) | ||
JsonInheritanceConverter ( string discriminator ) | ||
ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object | ||
WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void |
Method | Description | |
---|---|---|
GetObjectSubtype ( System objectType, string discriminator ) : System.Type | ||
IsKnwonTypeTargetType ( dynamic attribute, string discriminator ) : bool |
public CanConvert ( System objectType ) : bool | ||
objectType | System | |
return | bool |
public JsonInheritanceConverter ( string discriminator ) | ||
discriminator | string |
public ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object | ||
reader | Newtonsoft | |
objectType | System | |
existingValue | object | |
serializer | Newtonsoft | |
return | object |
public WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void | ||
writer | Newtonsoft | |
value | object | |
serializer | Newtonsoft | |
return | void |