SingleValueCodable - A simple exercise in leverage

A single-value wrapper type is a type which encapsulates only a single property. Dealing with such types when using Swift’s Codable protocols can lead to less than perfect representations of the type’s data. In this post, Russ Bishop works through a small exercise in extending Codable to better such types.