Lean  $LEAN_TAG$
QuantConnect.Util.SeriesJsonConverter Class Reference

Json Converter for Series which handles special Pie Series serialization case More...

Inheritance diagram for QuantConnect.Util.SeriesJsonConverter:
[legend]

Public Member Functions

override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Write Series to Json More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Reads series from Json More...
 
override bool CanConvert (Type objectType)
 Determine if this Converter can convert this type More...
 

Detailed Description

Json Converter for Series which handles special Pie Series serialization case

Definition at line 28 of file SeriesJsonConverter.cs.

Member Function Documentation

◆ WriteJson()

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

Write Series to Json

Parameters
writerThe Json Writer to use
valueThe value to written to Json
serializerThe Json Serializer to use

Definition at line 38 of file SeriesJsonConverter.cs.

◆ ReadJson()

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

Reads series from Json

Definition at line 112 of file SeriesJsonConverter.cs.

◆ CanConvert()

override bool QuantConnect.Util.SeriesJsonConverter.CanConvert ( Type  objectType)

Determine if this Converter can convert this type

Parameters
objectTypeType that we would like to convert
Returns
True if Series

Definition at line 170 of file SeriesJsonConverter.cs.


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