title: How to deserialize json property to class property?
body: <p><strong>My JSON file</strong></p>
  
  <pre><code>    [
        {
          "amount":"1000000.0",
          "check_number":1,
          "payment_number":5,
          "attachments":[
            {
              "id":5324,
              "url":"http://www.example.com/",
              "filename":"january_receipt_copy.jpg"
            }
          ]
        }
      ]
  </code></pre>
  
  <p><strong>My Class File</strong></p>
  
  <pre><code>public class Attachment
  {
      public int id { get; set; }
      public string url { get; set; }
      public string filename { get; set; }
  }
  
  public class AccountDetail
  {
      public string amount { get; set; }
      public int check_number { get; set; }
      public int payment_number { get; set; }
  }
  
  public class RootObject
  {
      public AccountDetail accountdetail{ get; set; }
      public List&lt;Attachment&gt; attachments { get; set; }
  }
  </code></pre>
  
  <blockquote>
    <p>Now I want to map JSON file's properties <strong>'check_number','amount'</strong> etc
    to <strong>accountdetail</strong> by using newtonsoft JSON deserialization.</p>
  </blockquote>