Lean
$LEAN_TAG$
|
Json converter for ParameterSet 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 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... | |
Json converter for ParameterSet which creates a light weight easy to consume serialized version
Definition at line 27 of file ParameterSetJsonConverter.cs.
override bool QuantConnect.Api.ParameterSetJsonConverter.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 36 of file ParameterSetJsonConverter.cs.
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.
override object QuantConnect.Api.ParameterSetJsonConverter.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 70 of file ParameterSetJsonConverter.cs.