title: Dynamically add new subtypes after the original supertype has already been configured in jackson
body: <p>I have one super class <code>Field</code> and there are two other classes that inherit the super class <code>Field</code>.</p>
  <p>I want to dynamically add subclass without affecting super class changes</p>
  <pre><code>public class TestConfiguration {
  
  private List&lt;Field&gt; fields;
  
  
  }
  </code></pre>
  <p>I want to use the mapping in this way when fields is instance of same class Field then without className property &quot;Field&quot; used for mapping</p>
  <pre><code>{
            &quot;fields&quot; : [ {
              &quot;name&quot; : &quot;First_name&quot;,
              &quot;type&quot; : {
                &quot;fieldType&quot; : {
                  &quot;name&quot; : &quot;string&quot;
                }
              },
              &quot;required&quot; : true
            }]
  }
  </code></pre>
  <p>I want to use the mapping in this way when fields is instance of child class ExtendedHierarchicalField then className property &quot;ExtendedHierarchicalField&quot; used for mapping or any other way for mapping the objects</p>
  <pre><code>{
            &quot;fields&quot; : [ {
              &quot;className&quot; : &quot;ExtendedHierarchicalField&quot;,
              &quot;name&quot; : &quot;First_name&quot;,
              &quot;type&quot; : {
                &quot;fieldType&quot; : {
                  &quot;name&quot; : &quot;string&quot;
                }
              },
              &quot;required&quot; : true
            }]
  }
  </code></pre>