title: how to use method canDeserialize ObjectMapper class from jackson API?
body: <p>I want to use  method  canDeserialize, because at moment  deserialization i want to get  type class for apply at custom deserialization, as about next example :</p>
  
  <pre><code>    public T deserialize(byte[] bytes) throws SerializationException {
         bolean isAccount = this.objectMapper.canDeserialize(??????).
             T t = null;
  
            if(isAccount)
              t = (T)this.objectMapper.readValue(bytes,Account.class);
  
            else 
              t = (T) this.objectMapper.readValue(bytes, 0, bytes.length, new TypeReference&lt;Object&gt;(){});
  
           return t;
      }
  </code></pre>
  
  <p>In this case Account class have annotation <i>@JsonDeserialize</i> for a custom deserialization .</p>