title: Parsing an object with variable type in gson
body: <p>I have something like the following json string:</p>
  
  <p><code></p>
  
  <pre>
  {"values" : [
             { "group":"A"
               "rating":2
             },
             {
               "group":"B"
               "language":"english"
             }
           ]
  }
  </pre>
  
  <p></code></p>
  
  <p>As you can see, "values" is an array, with different type of objects. One type can contain a string and an integer, and the other type contains a string and another string.</p>
  
  <p>How do I deal with this?</p>