How to map json to object using spring boot
<p>Hello I'd like to know how I could mapp my json message to object in java when using spring boot.</p>

<p>Let's say I'm getting json like</p>

<pre><code> {
    "customerId": 2,
    "firstName": "Jan",
    "lastName": "Nowak",
    "town": "Katowice"
  }
</code></pre>

<p>and I'd like to make it entity in my java program:
<strong>and for whatever reason I dont want to have match on field names</strong></p>

<pre><code>public class Customer {


    //Something like @Map("customerId")
    private long OMG;
    //Something like @Map("firstName")
    private String WTF;
    //Something like @Map("lastName")
    private String LOL;
    //Something like @Map("town")
    private String YOLO;
</code></pre>

<p>I cannot find what annotation I should use, Not using jackson, just built in spring boot converter??</p>