Lean  $LEAN_TAG$
QuantConnect.Api.OptimizationBacktestJsonConverter Class Reference

Json converter for OptimizationBacktest which creates a light weight easy to consume serialized version More...

Inheritance diagram for QuantConnect.Api.OptimizationBacktestJsonConverter:
[legend]

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...
 

Detailed Description

Json converter for OptimizationBacktest which creates a light weight easy to consume serialized version

Definition at line 31 of file OptimizationBacktestJsonConverter.cs.

Member Function Documentation

◆ CanConvert()

override bool QuantConnect.Api.OptimizationBacktestJsonConverter.CanConvert ( Type  objectType)

Determines whether this instance can convert the specified object type.

Parameters
objectTypeType of the object.
Returns
true if this instance can convert the specified object type; otherwise, false.

Definition at line 40 of file OptimizationBacktestJsonConverter.cs.

◆ WriteJson()

override void QuantConnect.Api.OptimizationBacktestJsonConverter.WriteJson ( JsonWriter  writer,
object  value,
JsonSerializer  serializer 
)

Writes the JSON representation of the object.

Parameters
writerThe T:Newtonsoft.Json.JsonWriter to write to.
valueThe value.
serializerThe calling serializer.

Definition at line 51 of file OptimizationBacktestJsonConverter.cs.

Here is the call graph for this function:

◆ ReadJson()

override object QuantConnect.Api.OptimizationBacktestJsonConverter.ReadJson ( JsonReader  reader,
Type  objectType,
object  existingValue,
JsonSerializer  serializer 
)

Reads the JSON representation of the object.

Parameters
readerThe T:Newtonsoft.Json.JsonReader to read from.
objectTypeType of the object.
existingValueThe existing value of object being read.
serializerThe calling serializer.
Returns
The object value.

Definition at line 147 of file OptimizationBacktestJsonConverter.cs.


The documentation for this class was generated from the following file: