title: Parsing JSON using Newtonsoft.JSON
body: <p>I have a JSON string as follows:</p>
  
  <pre><code>[{
      "ID":"1",
      "title":"New Product Launch",
      "fro":"Vitamin D",
      "summary":"New Vitamin D prodcut",
      "type":"image",
      "link":"http:\/\/www.foo.in\/upload\/image\/1.png",
      "detail":"13-11-2013",
      "fileSize":23763
  },
  {
      "ID":"2",
      "title":"New Product Launch",
      "fro":"Vitamin D",
      "summary":"New Vitamin D prodcut",
      "type":"image",
      "link":"http:\/\/www.foo.in\/upload\/image\/1.png",
      "detail":"13-11-2013",
      "fileSize":23763
  }]
  </code></pre>
  
  <p>My code for parsing is as follows:</p>
  
  <pre><code>AnnouncementListObject resultsJSON = JsonConvert.DeserializeObject&lt;AnnouncementListObject&gt;(json); //line1
  
  using (AnnouncementDataContext context = new AnnouncementDataContext(Con_String))
  {
       AnnouncementData alData = new AnnouncementData();
       alData.announcementID = int.Parse(resultsJSON.ID);
               .
               .
               .
               .
         context.AnnouncementData.InsertOnSubmit(alData);
         context.SubmitChanges();
  }
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>public class AnnouncementListObject
  {
      public string ID { get; set; }
      public string title { get; set; }
      public string fro { get; set; }
      public string summary { get; set; }
      public string type { get; set; }
      public string link { get; set; }
      public string detail { get; set; }
      public object fileSize { get; set; }
  }
  </code></pre>
  
  <p>But it throws error on line 1 where I deserialize the JSON data. I want to store this multiple data rows in database. I cannot use foreach loop here as JSON data is not enclosed under root node. Any help on how should I go about? </p>