title: Jackson custom deserializer module to abstract class
body: <p>I have a big set of classes (like more that 100) and they are all extend from some abstract class, let's call it <code>ParentClass</code>. Let's call child classes <code>ChildA</code>,<code>ChildB</code>, etc. How can I register custom deserializer for all children and get class type inside my Deserializer?
  I tried: </p>
  
  <p><code>module.addDeserializer(ParentClass.class, new MyObjectDeserializer());</code></p>
  
  <p>but it does not work.</p>
  
  <p>I want to skip doing (what is working):</p>
  
  <pre><code>module.addDeserializer(ChildA.class, new MyObjectDeserializer(ChildA.class));
  module.addDeserializer(ChildB.class, new MyObjectDeserializer(ChildB.class));
  module.addDeserializer(ChildC.class, new MyObjectDeserializer(ChildC.class));
  //etc......
  </code></pre>
  
  <p>Class type should be known, as I am use Jackson for spring @RequestBody method, what have defined class name there.
  Any ideas how this can be done?</p>