Lean  $LEAN_TAG$
QuantConnect.DefaultConverter Class Reference

Helper json converter to use the default json converter, breaking inheritance json converter More...

Inheritance diagram for QuantConnect.DefaultConverter:
[legend]

Public Member Functions

override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer)
 Writes a JSON file from the given object and the other arguments More...
 
override object ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Creates an object from a given JSON reader and other arguments More...
 
override bool CanConvert (Type objectType)
 Indicates if the given type can be assigned to this object More...
 

Public Attributes

override bool CanRead => false
 Indicates if this object can be read More...
 
override bool CanWrite => false
 Indicates if this object can be written More...
 

Detailed Description

Helper json converter to use the default json converter, breaking inheritance json converter

Definition at line 24 of file DefaultConverter.cs.

Member Function Documentation

◆ WriteJson()

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

Writes a JSON file from the given object and the other arguments

Definition at line 39 of file DefaultConverter.cs.

◆ ReadJson()

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

Creates an object from a given JSON reader and other arguments

Definition at line 47 of file DefaultConverter.cs.

◆ CanConvert()

override bool QuantConnect.DefaultConverter.CanConvert ( Type  objectType)

Indicates if the given type can be assigned to this object

Definition at line 55 of file DefaultConverter.cs.

Member Data Documentation

◆ CanRead

override bool QuantConnect.DefaultConverter.CanRead => false

Indicates if this object can be read

Definition at line 29 of file DefaultConverter.cs.

◆ CanWrite

override bool QuantConnect.DefaultConverter.CanWrite => false

Indicates if this object can be written

Definition at line 34 of file DefaultConverter.cs.


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