Lean
$LEAN_TAG$
|
Defines a JsonConverter to be used when deserializing to the Symbol 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... | |
Defines a JsonConverter to be used when deserializing to the Symbol class.
Definition at line 27 of file SymbolJsonConverter.cs.
override void QuantConnect.SymbolJsonConverter.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 33 of file SymbolJsonConverter.cs.
override object QuantConnect.SymbolJsonConverter.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 60 of file SymbolJsonConverter.cs.
override bool QuantConnect.SymbolJsonConverter.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 78 of file SymbolJsonConverter.cs.