title: json.net deserialize string to nested class
body: <p>I'm receiving a Json string back from a http request that looks something like this:</p>
  
  <pre><code>{
    "info":
       [
          {
             "calls":0,
             "errors":"[error1, error2, error3]",
             "messages":0,
             "mail":3
          }
      ],
   "received":5,
   "valid":3
  }
  </code></pre>
  
  <p>The entity I'm trying to deserialize into is structured about the same</p>
  
  <pre><code>class ResponseEntity
  {
      private Info info;        
      private int received;
      private int valid;
  
      [JsonProperty("info")]
      public Info Info
      {
          get { return info; }
          set { info = value; }
      }
  
      [JsonProperty("valid")]
      public int valid
      {
          get { return valid; }
          set { valid = value; }
      }
  
      [JsonProperty("received")]
      public int received
      {
          get { return received; }
          set { received = value; }
      }
  
      public class Info
      {
          private int calls;
          private List&lt;string&gt; errors;
          private int messages;
          private int mail;
  
          [JsonProperty("calls")]
          public int Calls
          {
              get { return calls; }
              set { calls = value; }
          }
  
          [JsonProperty("messages")]
          public int Messages
          {
              get { return messages; }
              set { messages = value; }
          }
  
          [JsonProperty("errors")]
          public List&lt;string&gt; Errors
          {
              get { return errors; }
              set { errors = value; }
          }
  
          [JsonProperty("mail")]
          public int Mail
          {
              get { return mail; }
              set { mail = value; }
          }
      }
  }
  </code></pre>
  
  <p>When I try to deserialize it though I'm getting an exception</p>
  
  <pre><code>ResponseEntity ent = JsonConvert.DeserializeObject&lt;ResponseEntity&gt;(json) as ResponseEntity;
  Cannot deserialize JSON array into type 'CSharpRestService.ResponseEntity+Info'.
  </code></pre>
  
  <p>Can anybody see what I'm doing wrong? I'm thinking the 'errors' json key is messing things up, but I also tried a string array.</p>