title: How to handle JSONP response through Retrofit and GsonConverter?
body: <p>I need to parse a response from the Flickr API.<br>
  <a href="http://api.flickr.com/services/feeds/photos_public.gne?tagmode=any&amp;format=json" rel="nofollow noreferrer">http://api.flickr.com/services/feeds/photos_public.gne?tagmode=any&amp;format=json</a></p>
  
  <p>which returns a response in jsonFlickrFeed jQuery call back function (which is not a valid JSON response).</p>
  
  <p>I know we can remove JSON callback method for Flickr API using <code>nojsoncallback=1</code> query.</p>
  
  <p>But is there any better approach to handle JSONP response if it is mandatory to use JSON with Padding (JSONP)?</p>
  
  <p>Instead of getting the response as a String, then trimming of the JSON padding and then parse the remaining JSON data.</p>
  
  <p>Sample Flickr API response-</p>
  
  <pre><code>jsonFlickrFeed({
  "title": "Recent Uploads tagged mountrainier",
  "link": "http:\/\/www.flickr.com\/photos\/tags\/mountrainier\/",
  "description": "",
  "modified": "2016-12-15T16:56:42Z",
  "generator": "http:\/\/www.flickr.com",
  "items": [ {
      "title": "Gateway Arts District Open Studio Tour, December 10, 2016",
      "link": "http:\/\/www.flickr.com\/photos\/kimsworldofart\/31274762970\/",
      "media": {
          "m": "http:\/\/farm1.staticflickr.com\/381\/31274762970_c40599d623_m.jpg"
      },
      "date_taken": "2016-12-10T15:49:03-08:00",
      "description": " &lt;p&gt;&lt;a href=\"http:\/\/www.flickr.com\/people\/kimsworldofart\/\"&gt;kimsworldofart&lt;\/a&gt; posted a photo:&lt;\/p&gt; &lt;p&gt;&lt;a href=\"http:\/\/www.flickr.com\/photos\/kimsworldofart\/31274762970\/\" title=\"Gateway Arts District Open Studio Tour, December 10, 2016\"&gt;&lt;img src=\"http:\/\/farm1.staticflickr.com\/381\/31274762970_c40599d623_m.jpg\" width=\"240\" height=\"135\" alt=\"Gateway Arts District Open Studio Tour, December 10, 2016\" \/&gt;&lt;\/a&gt;&lt;\/p&gt; &lt;p&gt;This photo was taken at the Otis Street Art Project in Mount Rainier, Maryland.&lt;\/p&gt;",
      "published": "2016-12-14T20:25:11Z",
      "author": "nobody@flickr.com (\"kimsworldofart\")",
      "author_id": "8508061@N02",
      "tags": "otisstreetartsproject gatewayartsdistrict mountrainier princegeorgescounty maryland"
  }]})
  </code></pre>
  
  <p>How to override GSON Converter to trim of these extra function syntax and then parse the remaining valid JSON? </p>