Encoding and Decoding in Swift

Encoding and Decoding in Swift

Ever wonder what’s actually going on inside JSONEncoder and JSONDecoder? Why doesn't JSONEncoder conform to the Encoder protocol? What's a CodingKey, and what are all of those "containers" for?

This talk will be a deep dive into encoding and decoding in Swift: what all of the related protocols are, how they fit together, and how to use them. You will come away from this talk ready to customize how your Swift types are encoded and decoded, and with the knowledge necessary to start writing encoders and decoders of your own.

A0b320a5ad7c553eb90070d1a968aab3?s=128

Kaitlin Mahar

September 10, 2019
Tweet