title: Deserialize malformed JSON with JSON.NET
body: <p>I have a snippet of JSON that looks like this:</p>
  
  <pre><code>{"123":{"name":"test","info":"abc"}}
  </code></pre>
  
  <p><strong>The <code>123</code> is an ID and can change on each request. This is beyond my control.</strong></p>
  
  <p>I want to Deserialize the JSON using JSON.NET. I have tried:</p>
  
  <pre><code> User u = JsonConvert.DeserializeObject&lt;User&gt;(json);
  </code></pre>
  
  <p>However, this does not work unless I define the <code>JsonProperty</code> attribute like so:</p>
  
  <pre><code>[JsonProperty("123")]
  public string ID { get; set; }
  </code></pre>
  
  <p>But of course I cannot actually do this because the ID <code>123</code> will change on every request.</p>
  
  <p>How can I read the ID property using JSON.NET and apply it to the ID class? </p>