A JsonConverter implementation that serializes a SecurityIdentifier as a string
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...
|
| |
A JsonConverter implementation that serializes a SecurityIdentifier as a string
Definition at line 25 of file SecurityIdentifierJsonConverter.cs.
◆ Convert() [1/2]
| override string QuantConnect.Util.SecurityIdentifierJsonConverter.Convert |
( |
SecurityIdentifier |
value | ) |
|
|
protected |
Converts as security identifier to a string
- Parameters
-
| value | The input value to be converted before serialziation |
- Returns
- A new instance of TResult that is to be serialzied
Definition at line 32 of file SecurityIdentifierJsonConverter.cs.
◆ Convert() [2/2]
| override SecurityIdentifier QuantConnect.Util.SecurityIdentifierJsonConverter.Convert |
( |
string |
value | ) |
|
|
protected |
Converts the input string to a security identifier
- Parameters
-
| value | The deserialized value that needs to be converted to T |
- Returns
- The converted value
Definition at line 42 of file SecurityIdentifierJsonConverter.cs.
The documentation for this class was generated from the following file: