Lean  $LEAN_TAG$
QuantConnect.Optimizer.Parameters.OptimizationParameterJsonConverter Class Reference

Override OptimizationParameter deserialization method. Can handle OptimizationStepParameter instances More...

Inheritance diagram for QuantConnect.Optimizer.Parameters.OptimizationParameterJsonConverter:
[legend]

Public Member Functions

override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Writes a JSON object from a OptimizationParameter object More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Creates a Optimization Parameter object from a JSON object More...
 
override bool CanConvert (Type objectType)
 Determines if an OptimizationParameter is assignable from the given object type More...
 

Detailed Description

Override OptimizationParameter deserialization method. Can handle OptimizationStepParameter instances

Definition at line 27 of file OptimizationParameterJsonConverter.cs.

Member Function Documentation

◆ WriteJson()

override void QuantConnect.Optimizer.Parameters.OptimizationParameterJsonConverter.WriteJson ( JsonWriter  writer,
object  value,
JsonSerializer  serializer 
)

Writes a JSON object from a OptimizationParameter object


Definition at line 32 of file OptimizationParameterJsonConverter.cs.

◆ ReadJson()

override object QuantConnect.Optimizer.Parameters.OptimizationParameterJsonConverter.ReadJson ( JsonReader  reader,
Type  objectType,
object  existingValue,
JsonSerializer  serializer 
)

Creates a Optimization Parameter object from a JSON object

Definition at line 55 of file OptimizationParameterJsonConverter.cs.

◆ CanConvert()

override bool QuantConnect.Optimizer.Parameters.OptimizationParameterJsonConverter.CanConvert ( Type  objectType)

Determines if an OptimizationParameter is assignable from the given object type


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