title: Convert a Map<String, String> to a POJO for nested property keys
body: <p>I need to convert a Map   to POJO.  I referred the below link, for simple key(employeeId,firstName,lastName)it is working fine.</p>
  
  <p>For a associated(wired)key(department.departmentId,department.departmentName) it is not working</p>
  
  <p><a href="https://stackoverflow.com/questions/16428817/convert-a-mapstring-string-to-a-pojo">Convert a Map&lt;String, String&gt; to a POJO</a></p>
  
  <pre><code>import com.fasterxml.jackson.databind.DeserializationFeature;
  import com.fasterxml.jackson.databind.ObjectMapper;
  
  public class Employee {
  
  private int employeeId;
  private String firstName;
  private String lastName;
  private Department department;
  
      public static void main(String[] args) {
          Map&lt;String,String&gt; input = constructMap();
  
          final ObjectMapper mapper = new ObjectMapper(); 
          //mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
          final Employee employee = mapper.convertValue(input, Employee.class);
          System.out.println(employee);
  
      }
  
  
      private static Map&lt;String,String&gt; constructMap() {
          Map&lt;String,String&gt; obj = new HashMap&lt;String,String&gt;();
          obj.put("employeeId","1");
          obj.put("firstName","firstName");
          obj.put("lastName","lastName");
  
          //obj.put("department.departmentId","123");
          //obj.put("department.departmentName","Physics");
          return obj;
      }
  } // Employee class end
  
  
  public class Department {
      private int departmentId;
      private String departmentName;
  }
  </code></pre>
  
  <p>key and value of the map is string, which I am getting from some other function. There will be multiple nested property keys like department.departmentId or
  address.addressId</p>