title: Parsing JSON in Spring boot application
body: <p>I'm having trouble in thinking up a way of parsing this type of JSON. I need to be able to access both data and message separately after getting this response inside my application.</p>
  
  <pre><code>{
      "data": [
          {
              "email": "eskaferas@gmail.com",
              "firstName": "Seras",
              "lastName": "Meras"
          },
          {
              "email": "Soras@gmail.com",
              "firstName": "Oras",
              "lastName": "Moras"
          },
          {
              "email": "bzbzb@gmail.com",
              "firstName": "hello",
              "lastName": "bye"
          },
          {
              "email": "lrc@gmail.com",
              "firstName": "Seras",
              "lastName": "Meras"
          }
      ],
      "message": "Success"
  }
  </code></pre>
  
  <p>Could anyone suggest a method specifically for Spring boot? Or a common way that is used in Spring boot to parse this type of JSON.</p>
  
  <p>Thank you.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>My main questions would be just what tool can be used for Spring Boot and what would my POJO class look like if I used Jackson. Would it be something like this?:</p>
  
  <pre><code>public class testPojo {
    Users[] users;
    String message;
  }
  </code></pre>