public SymbolResponse(string body) : base(body) { JSONObject ob = (JSONObject)this.ReturnData; symbol = new SymbolRecord(); symbol.FieldsFromJSONObject(ob); }
public AllSymbolsResponse(string body) : base(body) { JSONArray symbolRecords = (JSONArray)ReturnData; foreach (JSONObject e in symbolRecords) { SymbolRecord symbolRecord = new SymbolRecord(); symbolRecord.FieldsFromJSONObject(e); this.symbolRecords.AddLast(symbolRecord); } }