title: Reading Json String using Gson results error "not a JSON Array"
body: <p>In my project i have a complex json response. I want to read it by GSon. </p>
  
  <pre><code>JSON : {'FoodMenuRS':{'Results':[{'Items':{'Item':[{'@Id':'24'},{'@Id':'24'}]}}, {'Items':{'Item':{'@Id':'24'}}}]}}
  </code></pre>
  
  <p>It contains a JSONArray with first "Item" and JSONObject with second one. Hence its call results in error,</p>
  
  <pre><code>failed to deserialize json object {"@Id":"24"} given the type java.util.List&lt;com.servlet.action.ItemInfo&gt;  and  java.lang.IllegalStateException: This is not a JSON Array.
  </code></pre>
  
  <p>Please help how i should handle this scenario. Thanks.</p>