title: Parse JSON array in C#
body: <p>I'm trying to parse the following json array</p>
  
  <pre><code>[
      {
          "email": "john.doe@sendgrid.com",
          "timestamp": 1337197600,
          "smtp-id": "&lt;4FB4041F.6080505@sendgrid.com&gt;",
          "event": "processed"
      },
      {
          "email": "john.doe@sendgrid.com",
          "timestamp": 1337966815,
          "smtp-id": "&lt;4FBFC0DD.5040601@sendgrid.com&gt;",
          "category": "newuser",
          "event": "clicked"
      },
      {
          "email": "john.doe@sendgrid.com",
          "timestamp": 1337969592,
          "smtp-id": "&lt;20120525181309.C1A9B40405B3@Example-Mac.local&gt;",
          "event": "processed"
      }
  ]
  </code></pre>
  
  <p>I've not really used json format before, so it's all a little new. I found I can parse a single element easily, i.e.</p>
  
  <pre><code>{
          "email": "john.doe@sendgrid.com",
          "timestamp": 1337197600,
          "smtp-id": "&lt;4FB4041F.6080505@sendgrid.com&gt;",
          "event": "processed"
  }
  
  dynamic stuff = JsonConvert.DeserializeObject(json);
  Response.Write(string.Format("{0} = {1}&lt;br /&gt;", "timestamp", stuff.timestamp)); 
  //etc
  </code></pre>
  
  <p>But i'm struggling with how to get the individual elements into an array to loop through.</p>
  
  <p>I though about splitting the sting on },{ but didn't have much luck with that. I imagine there's an easier way i'm missing.</p>
  
  <p>Thank you.</p>