Lean
$LEAN_TAG$
|
Json converter for OptimizationBacktest which creates a light weight easy to consume serialized version More...
Public Member Functions | |
override bool | CanConvert (Type objectType) |
Determines whether this instance can convert the specified object type. More... | |
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... | |
Json converter for OptimizationBacktest which creates a light weight easy to consume serialized version
Definition at line 31 of file OptimizationBacktestJsonConverter.cs.
override bool QuantConnect.Api.OptimizationBacktestJsonConverter.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 40 of file OptimizationBacktestJsonConverter.cs.
override void QuantConnect.Api.OptimizationBacktestJsonConverter.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 51 of file OptimizationBacktestJsonConverter.cs.
override object QuantConnect.Api.OptimizationBacktestJsonConverter.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 147 of file OptimizationBacktestJsonConverter.cs.