How to handle JSONP response through Retrofit and GsonConverter?
问题 I need to parse a response from the Flickr API. http://api.flickr.com/services/feeds/photos_public.gne?tagmode=any&format=json which returns a response in jsonFlickrFeed jQuery call back function (which is not a valid JSON response). I know we can remove JSON callback method for Flickr API using nojsoncallback=1 query. But is there any better approach to handle JSONP response if it is mandatory to use JSON with Padding (JSONP)? Instead of getting the response as a String, then trimming of the