This post is about codable protocol! Codable was one of the corestone features of Swift 4.0, bringing with it incredibly smooth conversion between Swift data types and JSON . Codable is a type alias for the Encodable and Decodable protocols. A type that can convert itself into and out of an external representation. For more details, see apple official docs. With codable, you can use alamofire mo..