clinejj/foursquare-api-java — pull request #2 by seb-doncker (2014-08-04 16:41:51+00:00)
Title: Adding the capacity to JSONParsers to treat {count: n, items : []} objects as arrays.

Today, the Basic Examples fail to retrieve some venues due to a change in the API response after 20120121.

I'm not sure this is the good way to do it but it does just very few changes and should work very well reading the data. I'm not sure there is somewhere in the code where one write a CompleteVenue into JSON for example. I don't see this. In this case there will be a problem but in such a case, we have to add some test to the suite.

To do the example work, one have to call setVersion after FoursquareApi creation because, at this time, the default version is no longer supported.