public clsApiTicker(string aStrJson) { try { clsApiTicker vObjTicker = JsonConvert.DeserializeObject <clsApiTicker>(aStrJson); this.ticker = vObjTicker.ticker; } catch { throw; } }
public clsApiTicker() { this.ticker = new clsApiTicker_data(); this.ticker.buy = 0; this.ticker.sell = 0; }