title: Store all JSON in Map using gson and Retrofit 2
body: <p>I'm getting a JSON value from an API using Retrofit. However since the actual keys are going to be different each time I request the data, I'd like to store everything in a Map. Is this possible using Gson as the parser?</p>
  
  <p>For example:
  Access #1:</p>
  
  <pre><code>{
      "name": "Toby",
      "color": "blue"
  }
  </code></pre>
  
  <p>Access #2:</p>
  
  <pre><code>{
      "game": "Soccer",
      "day": "Monday"
  }
  </code></pre>
  
  <p>Instead of creating a class such as </p>
  
  <pre><code>class MyValues {
      public String name;
      public String color;
  }
  </code></pre>
  
  <p>which would be impossible since the keys will always be different, I'd like something like:</p>
  
  <pre><code>class MyValues {
      public Map&lt;String, String&gt; myMap;
  }
  </code></pre>
  
  <p>Thanks!</p>