|
Lean
$LEAN_TAG$
|
Converts the string "null" into a new instance of T. This converter only handles deserialization concerns. More...
Public Member Functions | |
| override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
| Writes the JSON representation of the object. More... | |
| override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| Reads the JSON representation of the object. More... | |
| override bool | CanConvert (Type objectType) |
| Determines whether this instance can convert the specified object type. More... | |
Converts the string "null" into a new instance of T. This converter only handles deserialization concerns.
| T | The output type of the converter |
| T | : | new() |
Definition at line 26 of file NullStringValueConverter.cs.
| override void QuantConnect.Util.NullStringValueConverter< T >.WriteJson | ( | JsonWriter | writer, |
| object | value, | ||
| JsonSerializer | serializer | ||
| ) |
Writes the JSON representation of the object.
| writer | The T:Newtonsoft.Json.JsonWriter to write to. |
| value | The value. |
| serializer | The calling serializer. |
Definition at line 35 of file NullStringValueConverter.cs.
| override object QuantConnect.Util.NullStringValueConverter< T >.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 50 of file NullStringValueConverter.cs.
| override bool QuantConnect.Util.NullStringValueConverter< T >.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 66 of file NullStringValueConverter.cs.