title: Deserialize JSON object in C#
body: <p>I want to get manuscript summary from PubMed. The content of each summary is in a JSON with the following format. The "29498802" is a unique ID, and it is different for each manuscript.</p>
  
  <pre><code>{
     "header":{
        "type":"esummary",
        "version":"0.3"
     },
     "result":{
        "uids":[
           "29498802"
        ],
        "29498802":{ 
         "uid":"29498802",
             "pubdate":"2018 Mar 2",
             "epubdate":"2018 Mar 2",
          ... 
      }
     }
  }
  </code></pre>
  
  <p>I use Newtonsoft.Json in C# to deserialize the JSON to an class:</p>
  
  <pre><code>var summary = JsonConvert.DeserializeObject&lt;Summary&gt;(stringResult);
  </code></pre>
  
  <p>My Summary class is as follows:</p>
  
  <pre><code>public class Summary
  {
      [JsonProperty("header")]
      public Header header { get; set; }
  
      [JsonProperty("result")]
      public Result result { get; set; }
  
  }
  
  public class Result
  {
      [JsonProperty("uids")]
      public List&lt;string&gt; uids { get; set; }
  
      public Dictionary&lt;string, PubMedId&gt; content { get; set; }
  }
  
  public class PubMedId
  {
      [JsonProperty("uid")]
      public string uid { get; set; }
      ...
  }
  </code></pre>
  
  <p>I was able to extract "header (type and version)", "uids", but "content" is always null. Any suggestions?</p>