Skip to content

ParameterDictionaryJsonConverter

QuantConnect.Util.ParameterDictionaryJsonConverter

Reads a parameter name to value dictionary from either the {name: value} or the <{"key": key, "value": value}> format

can_write

can_write: bool

Writes are handled by the default serializer, using the {name: value} format

can_convert

can_convert(object_type: Type) -> bool

Determines whether this instance can convert the specified object type

read_json

read_json(
    reader: Any,
    object_type: Type,
    existing_value: Any,
    serializer: Any,
) -> Object

Reads the parameters dictionary from the JSON

write_json

write_json(
    writer: Any, value: Any, serializer: Any
) -> None

Not used, see can_write