title: JSON.Net not calling CanConvert for collection item?
body: <p>I have a converter that I only want used when deserializing.  So I set CanWrite to false, which works fine and everything Serializes fine.  The Json string then contains an object graph within which there is a SantaClauseCollection with an array of SantaClause items and a $type indicating they are concrete type SantaClause.</p>
  
  <p>However, when it encounters a collection of SantaClaus while deserializing, it never calls CanConvert(I have a break point and see the SantaClausCollection, hit F5 to continue, which should then hit the break point again when encountering an item in the collection of SantaClaus, but it doesn't).  It's not trying to call CanConvert when it gets to the SantaClaus item.  Without even calling CanConvert for that item to check if my converter will handle it, it instead tries to deserialize it itself, which won't work because the class has no default constructor and no constructor with property-name matching conventions:</p>
  
  <blockquote>
    <p>Unable to find a constructor to use for type SantaClaus. A class
    should either have a default constructor, one constructor with
    arguments or a constructor marked with the JsonConstructor attribute.</p>
  </blockquote>
  
  <p>I understand why I get this error, but the problem is it indicates that Json.net tried to deserialize the object, instead of calling CanConvert to check and see if my converter wanted to handle the deserialization instead.</p>
  
  <p><strong>Why is CanConvert not being called for each item in the collection?</strong></p>
  
  <p>My converter:</p>
  
  <pre><code>class SantaClaus2JsonConverter : JsonConverter
  {
      public override bool CanConvert(Type objectType)
      {
          return objectType == typeof(SantaClaus);          
      }
  
      /// &lt;summary&gt;
      /// Deserializes a SantaClaus as a SantaClausEx which has a matching constructor that allows it to deserialize naturally.
      /// &lt;/summary&gt;       
      public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
      {
          return serializer.Deserialize&lt;SantaClausEx&gt;(reader);
      }
  
      public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
      {
          serializer.Serialize(writer, value);
      }
  
  
      public override bool CanRead
      {
          get
          {
              return true;
          }
      }
  
      public override bool CanWrite
      {
          get
          {
              return false;//We only need this converter when reading.
          }
      }
  
  }
  </code></pre>
  
  <p>SantaClausEx is just inherits from SantaClaus to add a constructor with a renamed parameter to match properties:</p>
  
  <pre><code>class SantaClaus //a third party class I can't modify
  {
      string Name {get;set;}
      public SantaClaus(string santaClauseName) { this.Name = santaClauseName }
  }
  
  class SantaClausEx:SantaClaus 
  {
      //provide a constructor with param names matching property names
      public SantaClausEx(string name) : base(name)
  }
  </code></pre>
  
  <p>Json.net can't deserialize a SantaClaus, but it can deserialize a SantaClauseEx.</p>
  
  <p>I use that SantaClauseEx class everywhere and it works just fine, but I wanted to make a converter to do this automatically.</p>
  
  <p>This is what the Json looks like for the collection:</p>
  
  <pre><code>SantaClausCollection: [
  {
    $type: "SantaClaus, XMasClasses.NET20"
    Name: "St. Bob"
  },
  {
    $type: "SantaClaus, XMasClasses.NET20"
    Name: "St. Jim"
  }
  ]
  </code></pre>