title: Newtonsoft.Json serialization returns empty json object
body: <p>I have list of objects of following class:</p>
  
  <pre><code>public class Catagory
  {
      int catagoryId;
      string catagoryNameHindi;
      string catagoryNameEnglish;
      List&lt;Object&gt; subCatagories;
      public Catagory(int Id, string NameHindi, string NameEng,List&lt;Object&gt; l)
      {
          this.catagoryId = Id;
          this.catagoryNameHindi = NameHindi;
          this.catagoryNameEnglish = NameEng;
          this.subCatagories = l;
      }
  }
  
    public class SubCatagory
  {
      int subCatagoryId { get; set; }
      string subCatNameHindi { get; set; }
      string subCatNameEng { get; set; }
  
      public SubCatagory(int Id, string NameHindi, string NameEng)
      {
          this.subCatagoryId = Id;
          this.subCatNameEng = NameEng;
          this.subCatNameHindi = NameHindi;
      }
  }
  </code></pre>
  
  <p>when I am converting this list to json string by using Newtonsoft.Json it returns array of empty objects.</p>
  
  <pre><code>  string json=JsonConvert.SerializeObject(list);
  </code></pre>
  
  <p>I am getting following result.</p>
  
  <blockquote>
    <p>[{},{},{},{},{}]</p>
  </blockquote>
  
  <p>Please help me regarding this problem.</p>