Lean
$LEAN_TAG$
|
Defines a JsonConverter to be used when you only want to serialize the Symbol.Value property instead of the full Symbol instance 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 you only want to serialize the Symbol.Value property instead of the full Symbol instance
Definition at line 27 of file SymbolValueJsonConverter.cs.
override void QuantConnect.SymbolValueJsonConverter.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 SymbolValueJsonConverter.cs.
override object QuantConnect.SymbolValueJsonConverter.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 53 of file SymbolValueJsonConverter.cs.
override bool QuantConnect.SymbolValueJsonConverter.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 65 of file SymbolValueJsonConverter.cs.