title: Jackson serialize nested attribute with same name
body: <p>Currently, I have a JSON response of the following type.</p>
  <pre><code>{
     &quot;user&quot;:{
        &quot;user&quot;:{
           &quot;name&quot;:&quot;Demo&quot;,
           &quot;age&quot;:25,
           &quot;eail&quot;:&quot;demo@abc.com&quot;
        },
        &quot;address&quot;:{
           &quot;country&quot;:&quot;NZ&quot;
        }
     }
  }
  </code></pre>
  <p>I want to map my custom class to nested user attributes.</p>
  <pre><code>@Data
  public class Demo{
        @JsonProperty(&quot;user&quot;)
        private User user;
        private Address address;
  }
  </code></pre>
  <p>But when I am trying to get the attribute, it is always sending <code>null</code> value. I think it is maping to first occurance of <code>&quot;user&quot;</code> in line no 2.</p>
  <p>How can I map it to correct <code>user</code> attribute in line no 3.</p>