title: I am unable to convert Map to POJO in spring boot
body: <p>I have a POJO that looks like this -</p>
  <pre><code>public class MyClass {
  private String id;
  
  private List&lt;String&gt; titles;
  }
  </code></pre>
  <p>And the map (myClassMap)-</p>
  <pre><code>&quot;a&quot; -&gt; [&quot;one&quot;, &quot;two&quot;, &quot;three&quot;]
  </code></pre>
  <p>What I tried -</p>
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  MyClass myClass = mapper.convertValue(myClassMap, MyClass.class);
  </code></pre>
  <p>But it returned null for both <code>id</code> and <code>titles</code></p>
  <p>How do I resolve the issue?</p>