title: Deserialize a .json string returns: 'Object reference not set to an instance of an object'
body: <p>I am trying to read a .json response. I have pasted the response here:
  <a href="https://pastebin.com/0Zgg39si" rel="nofollow noreferrer">https://pastebin.com/0Zgg39si</a></p>
  
  <p>Then I use the code below. When I run the code, I get the below error for:</p>
  
  <p><strong><em>"var deserializedTickers"</em></strong></p>
  
  <p><strong>System.NullReferenceException: 'Object reference not set to an instance of an object.'</strong></p>
  
  <p>The code is the below. I am not sure what is causing this?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>using Newtonsoft.Json.Linq;
  using Newtonsoft.Json;
  
          public void test()
          {
              //responseBody holds the .json response
              String responseBody = "";
  
              var deserializedTickers = JsonConvert.DeserializeObject&lt;TickersRoot&gt;(responseBody);
  
              foreach (var ticker in deserializedTickers.Tickers)
              {
                  var symbol2 = ticker.Value.Symbol;
              }
          }
          public class TickersRoot { public Dictionary&lt;string, Ticker&gt; Tickers { get; set; } }
          public class Ticker
          {
              public string Symbol { get; set; }
              public long Timestamp { get; set; }
              public DateTime Datetime { get; set; }
              public double High { get; set; }
              public double Low { get; set; }
              public double Bid { get; set; }
              public double Ask { get; set; }
              public double Vwap { get; set; }
              public double Open { get; set; }
              public double Close { get; set; }
              public double Last { get; set; }
              public double BaseVolume { get; set; }
              public double QuoteVolume { get; set; }
              public Info Info { get; set; }
          }
  
          public class Info
          {
              public List&lt;string&gt; a { get; set; }
              public List&lt;string&gt; b { get; set; }
              public List&lt;string&gt; c { get; set; }
              public List&lt;string&gt; v { get; set; }
              public List&lt;string&gt; p { get; set; }
              public List&lt;int&gt; t { get; set; }
              public List&lt;string&gt; l { get; set; }
              public List&lt;string&gt; h { get; set; }
              public string o { get; set; }
          }</code></pre>
  </div>
  </div>
  </p>