Please log in to watch this conference skillscast.
With the new Codable type, Swift 4 injects some magic into JSON parsing making it far less tedious than it’s ever been before. Ellen will share with you a quick overview of parsing JSON, then diving into Codable and why it’s a developer favorite among Swift 4 updates.
You will learn how to implement Codable, from the basics to the more complex use cases that will bring you all much relief, including CodingKeys and custom implementation of Encodable and Decodable. Whether you’re parsing simple JSON that maps perfectly to your object, or the more likely scenario where the JSON object barely resembles your app’s data models, Codable makes parsing and mapping JSON a concise, straightforward task. You’ll leave this talk with an understanding of why Codable is cool and how you can use it to make your Xcode life much easier.
YOU MAY ALSO LIKE:
- Keynote by Richard Warburton and Sadiq Jaffer: Continuous Profiling in Production: What, Why and How (in London on 3rd April 2019)
- Advanced Scala with Dick Wall (in London on 9th - 11th December 2019)