Lean  $LEAN_TAG$
QuantConnect.ChartSeriesJsonConverter Class Reference

Convert a Chart Series to and from JSON More...

Inheritance diagram for QuantConnect.ChartSeriesJsonConverter:
[legend]

Public Member Functions

override bool CanConvert (Type objectType)
 Indicates whether the given object type can be converted into Chart Series More...
 
override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Converts a Chart Series object into a JSON file More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Converts a JSON file into a Chart Series object More...
 

Public Attributes

override bool CanRead => false
 This converter wont be used to read JSON. Will throw exception if manually called. More...
 

Detailed Description

Convert a Chart Series to and from JSON

Definition at line 26 of file ChartSeriesJsonConverter.cs.

Member Function Documentation

◆ CanConvert()

override bool QuantConnect.ChartSeriesJsonConverter.CanConvert ( Type  objectType)

Indicates whether the given object type can be converted into Chart Series

Definition at line 36 of file ChartSeriesJsonConverter.cs.

◆ WriteJson()

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

Converts a Chart Series object into a JSON file

Definition at line 44 of file ChartSeriesJsonConverter.cs.

◆ ReadJson()

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

Converts a JSON file into a Chart Series object

Throws NotImplementedException

Definition at line 69 of file ChartSeriesJsonConverter.cs.

Member Data Documentation

◆ CanRead

override bool QuantConnect.ChartSeriesJsonConverter.CanRead => false

This converter wont be used to read JSON. Will throw exception if manually called.

Definition at line 31 of file ChartSeriesJsonConverter.cs.


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