Lean  $LEAN_TAG$
QuantConnect.Api.ParameterSetJsonConverter Class Reference

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

Inheritance diagram for QuantConnect.Api.ParameterSetJsonConverter:
[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 a JSON object from a Parameter set 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 ParameterSet which creates a light weight easy to consume serialized version

Definition at line 27 of file ParameterSetJsonConverter.cs.

Member Function Documentation

◆ CanConvert()

override bool QuantConnect.Api.ParameterSetJsonConverter.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 36 of file ParameterSetJsonConverter.cs.

◆ WriteJson()

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

Writes a JSON object from a Parameter set

Definition at line 44 of file ParameterSetJsonConverter.cs.

◆ ReadJson()

override object QuantConnect.Api.ParameterSetJsonConverter.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 70 of file ParameterSetJsonConverter.cs.


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