Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 75 path $.result
<p>I'm using Retrofit with Gson. The data from server is like:</p>

<pre><code>{
    "code": 0,
    "result": {
        // ...
        "entity":[]
    }
}
</code></pre>

<p>And this is the part of POJO which is about ARRAY:</p>

<pre><code>List&lt;Entity&gt; entity;
</code></pre>

<p>The error log:</p>

<blockquote>
  <p>java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 75 path $.result</p>
</blockquote>

<p>I can't find what made the error. Please help me.</p>