title: IllegalStateException when using GSON
body: <p>im trying to read the following JSON file:</p>
  
  <pre><code>{ "rss" : {
       "@attributes" : {"version" : "2.0" },
        "channel" : { 
            "description" : "Channel Description",
            "image" : { 
                "link" : "imglink",
                "title" : "imgtitle",
                "url" : "imgurl"
              },
  
            "item" : {
                "dc_format" : "text",
                "dc_identifier" : "link",
                "dc_language" : "en-gb",
                "description" : "Description Here",
                "guid" : "link2",
                "link" : "link3",
                "pubDate" : "today",
                "title" : "Title Here"
              },
  
            "link" : "channel link",
            "title" : "channel title"
          }
      } 
  }
  </code></pre>
  
  <p>Into this object:</p>
  
  <pre><code>public class RSSWrapper{
      public RSS rss;
  
      public class RSS{
          public Channel channel;
      }
  
      public class Channel{
          public List&lt;Item&gt; item;
  
      }
      public class Item{
          String description;//Main Content
          String dc_identifier;//Link
          String pubDate;
          String title;
  
      }
  }
  </code></pre>
  
  <p>Im only interested in knowing what's in the "item" object so i assumed the above class would work when calling:</p>
  
  <pre><code>Gson gson = new Gson();
  RSSWrapper wrapper = gson.fromJson(JSON_STRING, RSSWrapper.class);
  </code></pre>
  
  <p>but im getting an error:</p>
  
  <blockquote>
    <p>Exception in thread "main" com.google.gson.JsonSyntaxException:
    java.lang.IllegalStateException: Expected BEGIN_ARRAY but was
    BEGIN_OBJECT</p>
  </blockquote>
  
  <p>I don't really know what this means so I don't know where to look for the error, hopefully someone with a better knowledge of GSON can help me?</p>
  
  <p>Thanks :)</p>