Implementing a custom Decoder in Swift 4 Implementing a custom Decoder in Swift 4 swift swift