title: Binding JSON child object property into Java object field in Jackson
body: <p>I have a JSON object, say:</p>
  
  <pre><code>{
    "foo": {
      "bar": 1
    },
    "baz": 2
  }
  </code></pre>
  
  <p>and I want to bind it into a Java object, like:</p>
  
  <pre><code>@JsonIgnoreProperties(ignoreUnknown = true)
  public class Foo {
    private int bar;
    @JsonProperty("baz")
    private int baz;
  }
  </code></pre>
  
  <p>How can I set the value of <code>foo.bar</code> from JSON to the <code>bar</code> field in the <code>Foo</code> Java object?</p>
  
  <p>I've tried annotating the field with <code>@JsonProperty("foo.bar")</code>, but it doesn't work like that.</p>