Lean
$LEAN_TAG$
|
Defines a JsonConverter to be used when deserializing to the Notification class. More...
Public Member Functions | |
override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
Writes the JSON representation of the object. More... | |
override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
Reads the JSON representation of the object. More... | |
override bool | CanConvert (Type objectType) |
Determines whether this instance can convert the specified object type. More... | |
Public Attributes | |
override bool | CanWrite => false |
Use default implementation to write the json More... | |
Defines a JsonConverter to be used when deserializing to the Notification class.
Definition at line 27 of file NotificationJsonConverter.cs.
override void QuantConnect.Notifications.NotificationJsonConverter.WriteJson | ( | JsonWriter | writer, |
object | value, | ||
JsonSerializer | serializer | ||
) |
Writes the JSON representation of the object.
writer | The T:Newtonsoft.Json.JsonWriter to write to. |
value | The value. |
serializer | The calling serializer. |
Definition at line 38 of file NotificationJsonConverter.cs.
override object QuantConnect.Notifications.NotificationJsonConverter.ReadJson | ( | JsonReader | reader, |
Type | objectType, | ||
object | existingValue, | ||
JsonSerializer | serializer | ||
) |
Reads the JSON representation of the object.
reader | The T:Newtonsoft.Json.JsonReader to read from. |
objectType | Type of the object. |
existingValue | The existing value of object being read. |
serializer | The calling serializer. |
Definition at line 50 of file NotificationJsonConverter.cs.
override bool QuantConnect.Notifications.NotificationJsonConverter.CanConvert | ( | Type | objectType | ) |
Determines whether this instance can convert the specified object type.
objectType | Type of the object. |
true
if this instance can convert the specified object type; otherwise, false
. Definition at line 113 of file NotificationJsonConverter.cs.
override bool QuantConnect.Notifications.NotificationJsonConverter.CanWrite => false |
Use default implementation to write the json
Definition at line 32 of file NotificationJsonConverter.cs.