title: Correct way to map JSON to Java Object
body: <p>Im trying to map some json elements to a java object but cant seem to figure out the correct way. Theres obviously loads of examples online on how to map json to pojos but I have a big JSON string and I only want to map a few keys in the JSON String to build up an object...</p>
  
  <pre><code>{
  "glossary": {
      "title": "example glossary",
      "GlossDiv": {
          "title": "S",
          "GlossList": {
              "GlossEntry": {
                  "ID": "SGML",
                  "SortAs": "SGML",
                  "GlossTerm": "Standard Generalized Markup Language",
                  "Acronym": "SGML",
                  "Abbrev": "ISO 8879:1986",
                  "GlossDef": {
                      "para": "A meta-markup language, used to create markup languages such as DocBook.",
                      "GlossSeeAlso": ["GML", "XML"]
                  },
                  "GlossSee": "markup"
              }
          }
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>lets say I only want the title and GlossEntry: id, SortAs and Abbrev, </p>
  
  <p>What's the cleanest why to map it to a pojo with only those fields without having to map the whole json to an object and get those elements</p>