Take a look at - [Writing new Encoders and Decoders - Using Swift - Swift Forums](https://forums.swift.org/t/writing-new-encoders-and-decoders/10207) - [GitHub - Flight-School/Codable-DIY-Kit: A template for creating your own Swift Codable encoders and decoders](https://github.com/Flight-School/Codable-DIY-Kit) - [Objc.io - Building a Custom XML Decoder](https://talk.objc.io/episodes/S01E115-building-a-custom-xml-decoder) - [Guide to Swift Codable - Chapter 7](https://flight.school/books/codable/)
Take a look at
Writing new Encoders and Decoders - Using Swift - Swift Forums
GitHub - Flight-School/Codable-DIY-Kit: A template for creating your own Swift Codable encoders and decoders
Objc.io - Building a Custom XML Decoder
Guide to Swift Codable - Chapter 7