Encoding and Decoding in Swift 4
Mohammad Azam
2788

Hi…

What about moving the logic to Encodable and Decodable extensions?

In that way conforming Codable will be enough.

Something like:

https://gist.github.com/eMdOS/88a465e8898a0600d0a343e148d6bef1