WsSecurityIdConverter

StockSharp.Ws

Reads WsSecurityId from either of the two on-the-wire forms — packed string "CODE@BOARD" or object {"code":"X","board":"Y"}. Outgoing serialization always writes the object form.

Inherits: JsonConverter<WsSecurityId>

Methods

ReadJson(JsonReader, Type, WsSecurityId, bool, JsonSerializer) : WsSecurityId

ReadJson.

WriteJson(JsonWriter, WsSecurityId, JsonSerializer)

WriteJson.