The Complete Guide to JSON Parsing Using Swift 5

Learn the modern way of encoding and decoding JSON in Swift
The Complete Guide to JSON Parsing Using Swift 5
File Size :
817.17 MB
Total length :
2h 53m



Mohammad Azam


Last update




The Complete Guide to JSON Parsing Using Swift 5

What you’ll learn

Learn to integrate JSON Web services with their app!
Consume JSON using the new classes provided by Swift programming language

The Complete Guide to JSON Parsing Using Swift 5


Should be familiar with the iOS App Architecture
Should have intermediate level understanding of the Swift programming language


Parsing JSON is an integral part of most of iOS applications. The new version of Swift introduced classes and APIs that make JSON parsing easy to handle. This course is all about JSON encoding and decoding using Swift language. You will encounter many different JSON responses and learn how to decode those responses to your models. This course is packed with real world examples and can help you gain a better understanding of consuming JSON APIs for your iOS applications. My name is Mohammad Azam and I am the creator of many popular online courses including:Mastering ARKit for iOSBlockchain Programming in iOS Using Swift Mastering Core ML for iOS Server Side Swift Using Vapor Blockchain Programming Using JavaScript Mastering Micro Services Using Java Spring Boot The Complete Guide to Lean Controllers in iOSMastering Firebase for iOS Using Swift I have also created over 2 dozens apps and some of my apps were even featured by Apple on the App Store. I have worked with fortune 500 companies as a lead iOS developer and helped them grow their business ten folds. At present I work as a lead instructor for DigitalCrafts where I teach Full Stack Web Development. Before joining DigitalCrafts, I worked full time with The Iron Yard as an iOS and Full Stack instructor. I also run a very successful YouTube channel with over 5000 subscribers.
What’s stopping you from signing up to today?You don’t have enough time: Not a problem at all. We have designed the course so you can learn everything you need to know in less than 3 hours.Here are some of the reviews from our previous courses: “His course is AWESOME very detail instructions.””Mohammad Azam has an excellent teaching style which makes it easy & fun to comprehend these Swift features in such a short course & he explains the concepts in more detail & clarity than most instructors. Plus, his videos are well prepared & he’s very articulate. I hope he will create more courses.””Excellent teaching. Just perfect!!!”This is amazingly good and makes me really excited. I appreciated Mohammad for creating this course. This 3 hours already worth than 20 hours!!I HIGHLY RECOMMEND this course to anyone, but make sure you have a basic understanding of JavaScript FIRST; otherwise, it will all sound foreign to you. If you want to learn Blockchain development using one of (if not the most widely used) languages in the world – JavaScript – then invest in this course. Thank you, Mr. Azam! I will definitely buy more blockchain courses from you.Buy this course today and this is what you’ll get. You will learn the concepts behind JSON Encoding and Decoding in Swift and how you can consume JSON in your  iOS applications. I am going to teach you encoding and decoding JSON by running through a lot of examples. * Each lecture in the course is accompanied with complete code sample files.
You will also receive a UNLIMITED support on Udemy forums. I am very active on forums and I make sure that every questions is answered.   Can you believe you get all this (and more) for just $199?”Awesome class for really learning how to setup and implement MapKit in your iOS apps using swift. Def. one of the best classes I’ve taken on Udemy. Looking forward to more classes offered by Mohammad Azam. A++ class”Why learn JSON Parsing?An iOS app is not an island, an app is constantly communicating with a Web API to fetch or submit information. Consuming a JSON API is an integral part of any iOS application. By learning the concepts of JSON Parsing in iOS, you will be able to consume third party APIs including News, iTunes, Movies, Real state properties etc. Who is this for?This course is for anyone who wants to take their skills to the next level. JSON Parsing is an integral part of iOS app development and it allows your app to easily consume information from third party sources. This course is intended for intermediate developers, who have knowledge of iOS app architecture and Swift programming language. Is this course right for me?Look: if you are still not convinced then I urge you to check out my 5 star reviews in other courses. I am a well known developer in the iOS community with a large following. I do a lot of speaking engagements in which I spread knowledge and education. What are the requirements?A Mac ComputerXcode 9.3 or aboveUnderstanding of iOS framework is requiredBasic understanding of the Swift language and the iOS SDK – I’ll teach you everything you need to know about JSON Parsing in Swift. What am I going to get from this course?Learn the concepts behind JSON parsing using real world examples. Take your existing iOS skills to the next levelBecome a professional app developer, take freelance gigs and work from anywhere in the worldBored with the same old, same old? Apply for a new job in a software company as an iOS developer


Section 1: Introduction

Lecture 1 Introduction

Lecture 2 What you should know?

Lecture 3 Exercise Files

Lecture 4 Credits and Resources

Section 2: JSONSerialization

Lecture 5 Parsing JSON Using JSONSerialization

Lecture 6 Mapping JSON Result to Customer Model

Lecture 7 BONUS – Fixing Playground Errors

Lecture 8 Mapping JSON Array Result to Customers List

Section 3: Beginning JSON Parsing Using JSONEncoder and JSONDecoder

Lecture 9 Decoding JSON into Model

Lecture 10 Encoding Model to JSON

Lecture 11 Decoding JSON Array

Section 4: Intermediate JSON Parsing Using JSONEncoder and JSONDecoder

Lecture 12 Decoding Basic Key-Value Types

Lecture 13 Decoding Key-Value Using Response Model

Lecture 14 Decoding a Nested Object

Lecture 15 Decoding Enums

Lecture 16 Decoding Dates from Timestamps

Lecture 17 Handling Property Name Mismatches

Lecture 18 Mapping Properties Using CodingKeys

Section 5: Advanced JSON Parsing Using JSONEncoder and JSONDecoder

Lecture 19 Decoding Arbitrary Types

Lecture 20 Decoding Inherited Types

Lecture 21 Decoding from Different Types of Values

Lecture 22 Implementing Custom Encoding Strategy

Section 6: Decoding JSON to Flat Model

Lecture 23 Preparing JSON and Model

Lecture 24 Decoding User

Lecture 25 Decoding Address

Section 7: Consuming JSON Web API

Lecture 26 Fetching Data from the API Using URLSession

Lecture 27 Implementing and Populating Models with the API Result

Lecture 28 Implementing CodingKey to Use Custom Properties in Model

Section 8: Custom Key Decoding in Swift

Lecture 29 Implementing Custom Key Decoding in Swift

Lecture 30 Source Code

Section 9: Conclusion

Lecture 31 Bonus

Intermediate Swift developers who wants to learn more about different ways of consuming JSON

Course Information:

Udemy | English | 2h 53m | 817.17 MB
Created by: Mohammad Azam

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top