The Complete Guide to JSON Parsing Using Swift 5

Learn the modern way of encoding and decoding JSON in Swift

4.67 (523 reviews)
Udemy
platform
English
language
Mobile Apps
category
instructor
The Complete Guide to JSON Parsing Using Swift 5
6,202
students
3 hours
content
Mar 2023
last update
$74.99
regular price

What you will learn

Learn to integrate JSON Web services with their app!

Consume JSON using the new classes provided by Swift programming language

Why take this course?

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 iOS

  • Blockchain 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 iOS

  • Mastering 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 Computer

  • Xcode 9.3 or above

  • Understanding of iOS framework is required

  • Basic 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 level

  • Become a professional app developer, take freelance gigs and work from anywhere in the world

  • Bored with the same old, same old? Apply for a new job in a software company as an iOS developer


Content

Introduction

Introduction
What you should know?
Exercise Files
Credits - Flight School Guide to Swift Codable By Flight School

JSONSerialization

Parsing JSON Using JSONSerialization
Mapping JSON Result to Customer Model
BONUS - Fixing Playground Errors
Mapping JSON Array Result to Customers List

Beginning JSON Parsing Using JSONEncoder and JSONDecoder

Decoding JSON into Model
Encoding Model to JSON
Decoding JSON Array

Intermediate JSON Parsing Using JSONEncoder and JSONDecoder

Decoding Basic Key-Value Types
Decoding Key-Value Using Response Model
Decoding a Nested Object
Decoding Enums
Decoding Dates from Timestamps
Handling Property Name Mismatches
Mapping Properties Using CodingKeys

Advanced JSON Parsing Using JSONEncoder and JSONDecoder

Decoding Arbitrary Types
Decoding Inherited Types
Decoding from Different Types of Values
Implementing Custom Encoding Strategy

Decoding JSON to Flat Model

Preparing JSON and Model
Decoding User
Decoding Address

Consuming JSON Web API

Fetching Data from the API Using URLSession
Implementing and Populating Models with the API Result
Implementing CodingKey to Use Custom Properties in Model

Conclusion

Next Steps

Screenshots

The Complete Guide to JSON Parsing Using Swift 5 - Screenshot_01The Complete Guide to JSON Parsing Using Swift 5 - Screenshot_02The Complete Guide to JSON Parsing Using Swift 5 - Screenshot_03The Complete Guide to JSON Parsing Using Swift 5 - Screenshot_04

Our review

Based on the recent reviews from students who have taken the "Mastering JSON with Swift (Using Swift 4 Codable)" course, here is a comprehensive overview of the course's strengths and areas where it could potentially improve: ### Course Strengths: 1. **Comprehensive Content**: The course covers both basic and advanced aspects of JSON parsing in Swift, making it suitable for beginners as well as experienced developers looking to refine their skills. 2. **Real-World Relevance**: Many reviewers noted that the practical examples used throughout the course were applicable to real-world iOS app development. 3. **Clear and Informative Explanations**: The instructor's explanations were frequently praised for being clear, informative, and easy to understand. 4. **Efficient Learning**: Students completed the course within one day and reported feeling like they had learned a lot. 5. **Quality of Instruction**: The high-quality instruction provided by the instructor, Mohammad Azam, was consistently commended by students who have also followed his YouTube tutorials. 6. **Practical Approach**: The use of Xcode Playgrounds allowed for efficient learning by saving time and providing immediate feedback. 7. **Engaging Pace**: The course maintained a good pace that kept students engaged without being overwhelming or dragging on. 8. **Value for Money**: Many students felt that the course was worth the investment, with some mentioning they would take other courses from the same instructor. 9. **Real-Life Examples**: Several reviewers highlighted the utility of the course's content in their own development work. ### Areas for Improvement: 1. **Complexities in English**: A few students pointed out some issues with the English used in the course, suggesting that it could be improved for better clarity. 2. **Advanced Encoding Techniques**: Some students wished for more content on JSON encoding, as well as more advanced features of the encoder and decoder. 3. **Real-World Application**: A couple of reviews mentioned a desire for more comprehensive coverage of architectural patterns (MVC, MVVM) in relation to JSON parsing. 4. **Use of Real APIs**: A common suggestion was to include at least one real-life API endpoint to demonstrate how to fetch and parse real data, which would enhance the practical application of the skills learned. 5. **Avoiding Bugs in New Versions**: A note for students to downgrade to the stable version of Xcode was mentioned as a way to avoid the issues that come with new, potentially buggy versions. 6. **Closure-Free JSON Mapping**: Some students felt that the course's approach to mapping JSON without closures might not align with their expectations or current development practices. ### Overall Rating: The overall sentiment among reviewers is extremely positive, with many awarding the course a high rating and expressing gratitude for the knowledge shared by the instructor. The average rating, based on these reviews, seems to be around 4.5 out of 5 stars. ### Conclusion: "Mastering JSON with Swift (Using Swift 4 Codable)" is a highly recommended course for those looking to understand and master JSON parsing in Swift. It is particularly useful for iOS app developers who want to enhance their skills with practical, real-world applications. While there are some areas that could be improved, such as the inclusion of more advanced encoding techniques and the use of real API endpoints, the course stands out for its comprehensive content, clear explanations, and engaging presentation.

Charts

Price

The Complete Guide to JSON Parsing Using Swift 5 - Price chart

Rating

The Complete Guide to JSON Parsing Using Swift 5 - Ratings chart

Enrollment distribution

The Complete Guide to JSON Parsing Using Swift 5 - Distribution chart

Related Topics

1638634
udemy ID
4/9/2018
course created date
7/10/2019
course indexed date
Bot
course submited by