public class NotificationsParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<Notification<?>> |
parseNotifications(org.json.JSONArray notifications,
boolean skipNonExistingFields)
Static method that parses JSON array into list of notifications
|
public static List<Notification<?>> parseNotifications(org.json.JSONArray notifications, boolean skipNonExistingFields) throws FoursquareApiException
notifications - JSON ArrayskipNonExistingFields - whether parser should ignore non-existing fieldsFoursquareApiException - when something unexpected happensCopyright © 2014 Foyt. All Rights Reserved.