Parsing JSON Just Became Super Easy in Swift 4 with Decodable

Profile Picture
- Published on Jul 1, 2017馃審 Public

Transforming JSON into model objects in your apps just became a whole lot easier with the introduction of Decodable in Swift 4. In today's lesson, I want to walk through the old way of using JSONSerialization and then show you the new JSONDecoder method. We can retire a bunch of JSON serializer pods now that we have this feature natively supported. URLs for JSON blobs: https://api.letsbuildthatapp.com/json... https://api.letsbuildthatapp.com/json... https://api.letsbuildthatapp.com/json... https://api.letsbuildthatapp.com/json... Completed Source Code https://www.letsbuildthatapp.com/cour... Instagram Firebase Course https://www.letsbuildthatapp.com/cour... Facebook Group https://www.facebook.com/groups/12406... iOS Basic Training Course https://www.letsbuildthatapp.com/basi... Follow me on Twitter: https://twitter.com/buildthatapp