title: Gson - Json string to list of pojo
body: <p>I have this JSON response that I want to convert to equivalent list of pojo objects using Gson.</p>
  
  <pre><code>{
   "title" : "Java Generics and Collections",
   "formattedPrice" : "INR 460.00",
   "source" : "abc"
  }, 
  
  {
   "title" : "Java Generics and Collections",
   "formattedPrice" : "INR 460.00",
   "source" : "xyz"
  }
  </code></pre>
  
  <p><strong>Product.java</strong></p>
  
  <pre><code>public class Product {
  
     private String title;
  
     private String formattedPrice;
  
     private String source;
  
     //Getters and setters
  
   }
  </code></pre>
  
  <p>This might be very basic but I couldn't figure it out.</p>