         guard let objects = results.array else {
             throw Error.notAnArray
         }
+
+        let next = json["next"].string
+        let isLastPage = json["isLastPage"].bool
+        let config = PageConfig(next: next, isLastPage: isLastPage)
 
         var db: Parser.Database = [:]
         var ids: [Parser.Identifier] = []

        }

        if let many = many as? [T] {
            let next = json["next"].string
            let isLastPage = json["isLastPage"].bool
            let config = PageConfig(next: next, isLastPage: isLastPage)
            return (config, many)
        }
        throw Error.wrongType

    }
}

class ManyParser<T> {
    enum Error: Swift.Error {
        case notAnArray
    }

    let parser: Parser
