Kitura offers powerful route-handling features similar to what you've learned about in the previous Vapor project. All Kitura versions since Kitura 2.0 take advantage of Codable in Swift 4.1 for JSON encoding and parsing, in a way similar to Content type in Vapor. In previous versions prior to Kitura 2.0, you would need to use a third-party library such as SwiftyJSON and write more tedious code for JSON encoding and decoding.
Just as Codable routing dramatically simplifies the handling of JSON-encoded data from a client's HTTP requests in the server, Kitura also provides a connector called KituraKit that mirrors Codable routing in the implementation of a client. With KituraKit, it simplifies the programming for JSON encoding and decoding via a concept called a client/server Contract.
Next, you'll conform your data model to...