title: Gson: Mapping multiple json objects to a single object
body: <p>Suppose we have this simple json:</p>
  
  <pre><code>"Book":
  {
      "title": "Hello world",
      "metadata": 
       {
           "author": "Jeff"
       }
  }
  </code></pre>
  
  <p>Is there an easy way to ignore the metadata object and put author directly into a books object using gson? Should i use a deserializer for that or is there an easier way?</p>
  
  <p>I need a class like this:</p>
  
  <pre><code>public class Book
  {
      private String title;
      private String author;
  
      //...
  }
  </code></pre>