         }
     }
 
-    public func compactMap<T: Mappable>(to type: [T].Type) throws -> [T] {
+    func compactMap<T: Mappable>(to type: [T].Type) throws -> [T] {
         guard let jsonArray = try mapJSON() as? [NSDictionary] else {
             throw MoyaError.jsonMapping(self)
         }

        return jsonArray.compactMap { try? T(map: Mapper(JSON: $0)) }
    }
    
    public func map<T: Mappable>(to type: [T].Type, keyPath: String?) throws -> [T] {
        guard let keyPath = keyPath else { return try map(to: type) }
        
        guard let jsonDictionary = try mapJSON() as? NSDictionary,

        }
    }

    func compactMap<T: Mappable>(to type: [T].Type, keyPath: String?) throws -> [T] {
        guard let keyPath = keyPath else { return try compactMap(to: type) }

        guard let jsonDictionary = try mapJSON() as? NSDictionary,
