title: How to populate an IList collection using Json.NET
body: <p>We have a <code>User</code> class like this:</p>
  
  <pre><code>public class User
  {
      public string Name;
      public IList Roles;
  }
  </code></pre>
  
  <p>and a <code>Role</code> class like this:</p>
  
  <pre><code>public class Role
  {
      public string Name;
  }
  </code></pre>
  
  <p>When I serialize and then deserialize a <code>User</code> object using Json.NET I get a list of JSON instead of <code>Roles</code>. How I can configure Json.NET to have <code>User</code> object correctly deserialized?</p>
  
  <p><strong>Updated :</strong>
  Please consider that changing the code is not an option because it's part of a legacy system and many system are dependent to this library.</p>