                     if let objectInfos = JSON[key] as? [[String: AnyObject]] {
                         var allObjects: [T] = []
                         for objectInfo in objectInfos {
-                            allObjects.append((T.self as T.Type).init(JSON: NKJSON(dictionary: objectInfo)))
+                            if let object = (T.self as T.Type).init(JSON: NKJSON(dictionary: objectInfo))
+                            {
+                                allObjects.append(object)
+                            }
                         }
                         return allObjects
                     }


public protocol NKJSONParsable {
    
    init(JSON: NKJSON)
    
}
                if let result: [[String: AnyObject]] = try NSJSONSerialization.JSONObjectWithData(data, options: []) as? [[String: AnyObject]] {
                    var allObjects: [T] = []
                    for objectInfo in result {
                        if let object = (T.self as T.Type).init(JSON: NKJSON(dictionary: objectInfo)) {
                            allObjects.append(object)
                        }
                    }
                    return allObjects
                }
