title: Missing Variables in JSONArray with Volley in Android
body: <p>I'm requesting some json data from database with 3 variable. This is the response</p>
  
  <p><code>[{"id":"a5","catname":"a","full":"yes"},{"id":"a4","catname":"a","full":"no"},{"id":"a3","catname":"a","full":"yes"}]
  </code></p>
  
  <p>But Volley response doesn't catch a variable names 'full'</p>
  
  <p>Below is my Code</p>
  
  <pre><code>JsonArrayRequest jsonArrayRequest = new JsonArrayRequest(Request.Method.POST, getString(R.string.latest_url), new Response.Listener&lt;JSONArray&gt;() {
          @Override
          public void onResponse(JSONArray response) {
  
              for(int i=0;i&lt;response.length();i++) {
  
                  try {
                      JSONObject jresponse = response.getJSONObject(i);
                      if(jresponse.has("full")) {
                          arrayList.add(new Album(jresponse.getString("id"), jresponse.getString("catname"), jresponse.getString("full")));
                      }else{
                          arrayList.add(new Album(jresponse.getString("id"), jresponse.getString("catname"), ""));
                      }
                      } catch (JSONException e) {
                      e.printStackTrace();
                  }
              }
  
              if (arrayList.size() != 0) {
                  try {
                      recyclerView.setLayoutManager(new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL));
                      recycleradapter = new recyclerGridAdapter(getContext(), arrayList);
                      recyclerView.setAdapter(recycleradapter);
                  } catch (Exception e) {
  
                  }
              }
          }
  
  
      }, new Response.ErrorListener() {
          @Override
          public void onErrorResponse(VolleyError error) {
  
          }
      }){
          @Override
          protected Map&lt;String, String&gt; getParams() throws AuthFailureError {
              Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
              return params;
          }
      };
  </code></pre>
  
  <p>I'm using PHP script to get data in Array</p>
  
  <p><code>array_push($response,array("id"=&gt;$row["id"],"catname"=&gt;$row["catname"],"full"=&gt;$row["full"]));</code></p>
  
  <p>Is there something wrong? Is there anything missing?</p>