title: How to parse JSON array with single element without any object in Retrofit?
body: <p>I am using Retrofit which uses  GSON for parsing.The server will check the parameter i am sending and returns two responses Accordingly.
  If the parameter is valid i am getting the following response </p>
  
  <pre><code>[
    true
  ]
  </code></pre>
  
  <p>If it is not valid then i get response as,</p>
  
  <pre><code>   [
        "Sorry, &lt;em class=\"placeholder\"&gt;names@gmail.inp&lt;/em&gt; is not recognized as a user name or an e-mail address."
      ]
  </code></pre>
  
  <p>This is the call method i am using.</p>
  
  <p>@Override</p>
  
  <pre><code>public void onResponse(Call&lt;String&gt; call, Response&lt;String&gt; response) {
  mProgressBar.setVisibility(View.GONE);
      Log.d("Response ", ""+response);
  
  
  }
  </code></pre>
  
  <p>here response.body giving me as null. But there is a response.which is viewable in OKHttp Log.</p>