title: Jackson deserialization with @JsonUnwrapped
body: <p>I have following classes -</p>
  <pre><code>public class Request {
     public String name;
  
     @JsonUnwrapped
     @JsonInclude(JsonInclude.Include.NON_NULL)
     public DateOfBirth dateOfBirth;
  }
  
  public class DateOfBirth {
     public int day;
     public int month;
     public int year;
  }
  </code></pre>
  <hr />
  <pre><code>{
    &quot;name&quot; : &quot;John Doe&quot;
  }
  </code></pre>
  <p>Deserealization of this JSON creates a <code>Request</code> object with <code>name</code> John Doe and <code>dateOfBirth</code> with day, month and year 0.
  How can I override this behaviour so that <code>dateOfBirth</code> is null.</p>
  <blockquote>
  <p>Worth noting that on removing @JsonUnwrapped annotation, such JSON is deserealized into null object, so I feel like I am missing some trick here.
  <strong>Jackson version - 2.13.1</strong></p>
  </blockquote>