title: making a GSON request using volley
body: <p>I have the following json response</p>
  
  <pre><code>{
    "tag": [
      {
        "listing_count": 5,
        "listings": [
          {
            "source": "source1",
            "data": {
              "image": "image1",
              "name": "name1"
            },
            "name": "name1"
          }
        ]
      },
      {
        "listing_count": 5,
        "listings": [
          {
            "source": "source2",
            "data": {
              "image": "imag2",
              "name": "name2"
            },
            "name": "name2"
          }
        ]
      }
    ]
  }
  </code></pre>
  
  <p>I have created the following classes for GSON request. How do I make the GSON request and store the values for the response using a volley request.
  What should the GSON request be like?</p>
  
  <pre><code>public class TagList {
  
  ArrayList&lt;Tag&gt; tags;
  
  public static class Tag {
      int listing_count;
      ArrayList&lt;Listings&gt; listings;
  
      public int getListing_count() {
          return listing_count;
      }
  
      public void setListing_count(int listing_count) {
          this.listing_count = listing_count;
      }
  
      public ArrayList&lt;Listings&gt; getListings() {
          return listings;
      }
  
      public void setListings(ArrayList&lt;Listings&gt; listings) {
          this.listings = listings;
      }
  
  }
  
  public static class Listings {
      String source;
      Data data;
      String name;
  
      public String getSource() {
          return source;
      }
  
      public void setSource(String source) {
          this.source = source;
      }
  
      public Data getData() {
          return data;
      }
  
      public void setData(Data data) {
          this.data = data;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
  }
  
  public static class Data {
      String image;
      String name;
  
      public String getImage() {
          return image;
      }
  
      public void setImage(String image) {
          this.image = image;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  }
  </code></pre>