Defines how insights should be serialized to json
More...
|
override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| Reads the JSON representation of the object. More...
|
|
override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
| Writes the JSON representation of the object. More...
|
|
override bool | CanConvert (Type objectType) |
| Determines whether this instance can convert the specified object type. More...
|
|
virtual bool | PopulateProperties |
| True will populate TResult object returned by Convert(TResult) with json properties More...
|
|
Defines how insights should be serialized to json
Definition at line 24 of file InsightJsonConverter.cs.
◆ Convert() [1/2]
override SerializedInsight QuantConnect.Algorithm.Framework.Alphas.Serialization.InsightJsonConverter.Convert |
( |
Insight |
value | ) |
|
|
protected |
Convert the input value to a value to be serialized
- Parameters
-
value | The input value to be converted before serialization |
- Returns
- A new instance of TResult that is to be serialized
Definition at line 31 of file InsightJsonConverter.cs.
◆ Convert() [2/2]
override Insight QuantConnect.Algorithm.Framework.Alphas.Serialization.InsightJsonConverter.Convert |
( |
SerializedInsight |
value | ) |
|
|
protected |
Converts the input value to be deserialized
- Parameters
-
value | The deserialized value that needs to be converted to T |
- Returns
- The converted value
Definition at line 41 of file InsightJsonConverter.cs.
The documentation for this class was generated from the following file: