title: Add new record in json
body: <p>I want to add a new record to the json collection:</p>
  
  <pre><code>{
      "type": "FeatureCollection",
      "features": [
      {
          "type": "Feature",
          "id": 1,
          "name": "Location1",
          "geometry": {
          "type": "Point",
              "coordinates": [
                   150.74379,
                   -30.280119
              ]
           }
      },
      {
          "type": "Feature",
          "id": 2,
          "name": "Location2",
          "geometry": {
             "type": "Point",
             "coordinates": [
                   148.387392,
                   -23.781484
             ]
           }
      }]
  }
  </code></pre>
  
  <p>and I want to find what is the best way to create such an object and to insert it. So far I added the code below, which raises an error </p>
  
  <blockquote>
    <p>Can not add Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JObject.</p>
  </blockquote>
  
  <p>when I want to add the new object to the array</p>
  
  <pre><code>var array = JsonConvert.DeserializeObject&lt;dynamic&gt;(json);
  
  dynamic jsonObject = new JObject(); // needs using Newtonsoft.Json.Linq;
  jsonObject.type = "feature";
  jsonObject.id = 3;
  jsonObject.name = sAddress;
  jsonObject.type = "Point"; 
  jsonObject.coordinates = "12, 13";
  
  array.Add(jsonObject); // error Can not add Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JObject.
  </code></pre>