public Notification [ ] readNotifications ( InputStream in ) throws ConversionException , IOException , ClassNotFoundException { final NotificationRecord [ ] records = readNotificationRecords ( in ) ; final Notification [ ] ret = new Notification [ records . length ] ; for ( int i = 0 ; i < records . length ; ++ i ) { ret [ i ] = records [ i ] . getNotification ( ) ; } return ret ; }
Decode a JSON document to retrieve an array of Notification instances .