With the new Codable type, Swift 4 injects some magic into JSON parsing making it far less tedious than it’s ever been before. Let’s take a quick look back at just how far we’ve come in terms of parsing JSON, then dive into Codable and why it’s a developer favorite among Swift 4 updates. We’ll cover how to implement Codable, from the basics to the more complex use cases that will bring us 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.