title: JSON tag returns empty array [] while gson expects a string
body: <p>I am using GSON Library to parse my JSON tag.</p>
  
  <p>some of the tags are expected to hold string values (not arrays). the problem is, sometimes the element is empty [] and when it does that the console gives me this error</p>
  
  <pre><code>expected String but was BEGIIN ARRAY.
  </code></pre>
  
  <p>The following is the ideal case for my JSON</p>
  
  <pre><code>   {
       "internet": "600.00",
      "internet_remarks": "Fibre 1gbps",
      }
  </code></pre>
  
  <p>but sometimes it becomes</p>
  
  <pre><code>        {
          "internet": "600.00",
          "internet_remarks": [],
          }
  </code></pre>
  
  <p>My parsing code is as follows:</p>
  
  <pre><code>GsonBuilder gsonBuilder = new GsonBuilder();
  Gson gson = gsonBuilder.create();
  MainContainer mainContainer = gson.fromJson(obj, MainContainer.class);    
  </code></pre>
  
  <p>while in my class is as follows the varailbas are defined as follows</p>
  
  <pre><code>private String internet;
  private String internet_remarks;
  </code></pre>
  
  <p>My question is what changes should i make so that the variable accommodate the empty array []</p>