Decode and Flatten JSON with Dynamic Keys Using Decodable Lee Kah Seng demonstrates how we can use Swift's Decodable protocol to decode and flatten JSON with dynamic keys. This is definitely something that might come in useful, and Lee provides a full working example. Posted on June 10, 2020 #decodable
JSON to Swift with Decoder and Decodable After looking at encoding Swift to JSON in a previous post, Greg Heo turns his attention to decoding JSON to Swift using Swift 4’s Decodable and Decoder protocols. As with the previous article, Greg steps through a complete example. The simplicity of the example, together with the diagrams, really help to explain how the decoding process works. Posted on July 23, 2017 #JSON #decodable #swift 4