Deserializing flattened JSON to Java Object using Jackson
<p>So I am currently using Jackson to deserialize JSON into complex java objects. Everything works well but I also have some fields such as:</p>

<pre><code>{
  "foo.bar.baz":"qux"
}
</code></pre>

<p>which correspond to java objects such as:</p>

<pre><code>class Foo {
    AnotherClass bar;
}

class AnotherClass {
    String baz;
}
</code></pre>

<p>Jackson is unable to figure out that the dots correspond to inner objects. Is there a way to get Jackson to be able to deserialize even on flattened fields such as the field in my example?</p>