title: Jil.DeserializationException : Error occurred building a deserializer in redis cache
body: <p>I'm using Redis Cache using Stack Exchange library.</p>
  
  <p>I used <a href="https://github.com/neuecc/CloudStructures" rel="nofollow">cloudStructure</a> library to use Redis Dictionary and Redis List.</p>
  
  <blockquote>
    <p>Problem is when I try to retrieve values and if that model has a null
     value for one list property it is throwing me below exception -</p>
    
    <p>Jil.DeserializationException : Error occurred building a deserializer
    for TestMainClass: Expected a
    parameterless constructor for
    System.Collections.Generic.ICollection<code>1[TestChildClass]
    ---- Jil.Common.ConstructionException : Expected a parameterless constructor for
    System.Collections.Generic.ICollection</code>1[TestChildClass]</p>
  </blockquote>
  
  <pre><code>public class TestMainClass
      {
          public TestMainClass();
          public int Id { get; set; }
          public virtual ICollection&lt;TestChildClass&gt; Mydata { get; set; }
          public string Title { get; set; }
      }
  
  
        public class TestChildClass
      {
          public TestChildClass();
          public int Id { get; set; }
          public string Value { get; set; }
      }
  </code></pre>
  
  <p>Redis code for retrieve value:</p>
  
  <pre><code>RedisDictionary&lt;int, TestMainClass&gt; dictionary = 
  new RedisDictionary&lt;int, TestMainClass&gt;("localhost", "mylocaldictionary");
  var result = await dictionary.Get(121);
  </code></pre>
  
  <p>What If I could not able to convert ICollection &lt; T > into List &lt; T >?</p>