title: How to create a json with different index?
body: <p>I'm using <code>Newwtonsoft.JSON</code> for build my json file, actually what I did is create different classes models, as this:</p>
  
  <pre><code>class GeneralModel
  {
      public string Language { get; set; }
  }
  </code></pre>
  
  <p>and then for build the json file:</p>
  
  <pre><code>GeneralModel lsModel = new GeneralModel();
  string json = JsonConvert.SerializeObject(lsModel);
  File.WriteAllText(settingsFilePath, json);
  </code></pre>
  
  <p>this will create a json that contains <code>Language</code>, but I need to put in this json different classes, what I need is set an index that contains each class name, for example:</p>
  
  <pre><code>"GeneralModel": {
      "Language" : "english"
  },
  "AnoherClassName": {
      "ClassProperty" : value
  }
  </code></pre>
  
  <p>how can I do this with Newtonsoft?</p>