Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

What is JSON - JSON Parsing in Swift

Автор: CodeWithChris

Загружено: 2020-02-07

Просмотров: 77133

Описание:

What is JSON and how do you parse JSON in Swift? This video will show you!

JSON stands for JavaScript Object Notation and it's a way to represent data in a standard way. It helps organize that data in a way that machines can "read".

Think about how a dictionary is organized alphabetically and each entry has a word followed by a definition. There's a well defined standard which makes it easy to process the info.

The JSON data format is often used in a data feed or in the returned data from an API call.

Because the data is in a standard data format, our app can "parse" out the information from the data feed or API response.

To understand how JSON is organizes data, you need these 3 concepts:

Key-Value pairs: The key is a label and the value is the actual data. Together, a key-value pair represents one piece of information.

JSON Object: This is a collection of key-value pairs together. Often the key-value pairs are related together so that the collection (JSON object) represents a bigger piece of data. For example, the JSON Object could represent a person and the collection of key-value pairs represents the attributes of the person.

Array: An array in JSON represents a list of JSON objects or other values.

For an example of JSON data, check out the video tutorial! In the video, I also show how to parse JSON in Swift using the Codable protocol.

We take the response JSON data from a real API call and then parse it in Swift!

🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:
https://cwc.to/youtubeoffer

MY FREE ONLINE COURSE:
⚡ How to make an app in 14 days - https://cwc.to/14days

CWC+ PROGRAM:
👩‍💻 All our courses in a learning path - https://cwc.to/plus

WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - https://cwc.to/newsletter

CONNECT:
🌍 Website - https://codewithchris.com
😺 GitHub - https://github.com/codewithchris
📸 Instagram -   / codewithchris  
🐦 Twitter -   / codewithchris  

ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! https://cwc.to/reviews

#JSON #Parsing #CodeWithChris

What is JSON - JSON Parsing in Swift

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Как работать с любым API (руководство по API с использованием URL-запросов)

Как работать с любым API (руководство по API с использованием URL-запросов)

Data Flow in a SwiftUI App

Data Flow in a SwiftUI App

Learn JSON in 10 Minutes

Learn JSON in 10 Minutes

Вызовы Swift API для начинающих (сетевое взаимодействие) — Async Await и JSON

Вызовы Swift API для начинающих (сетевое взаимодействие) — Async Await и JSON

Карточная игра «Война» — реализация условий «Раздача, Счёт, Победа» (День 8)

Карточная игра «Война» — реализация условий «Раздача, Счёт, Победа» (День 8)

5 шагов к улучшению представлений SwiftUI

5 шагов к улучшению представлений SwiftUI

Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)

Intro to Databases (MySQL, CloudKit, Firebase, Core Data, Realm)

Что такое API и как оно работает? (Простым языком)

Что такое API и как оно работает? (Простым языком)

Изучите основы Swift за один час

Изучите основы Swift за один час

Intro to SwiftData - Model, Container, Fetch, Create, Update & Delete

Intro to SwiftData - Model, Container, Fetch, Create, Update & Delete

Getting Data From API in Swift + iOS (Xcode 15 tutorial) - Beginners

Getting Data From API in Swift + iOS (Xcode 15 tutorial) - Beginners

Day 120 – Vibe Coding an App Until I Make $1,000,000 | Revenue: $3,106.90

Day 120 – Vibe Coding an App Until I Make $1,000,000 | Revenue: $3,106.90

How to use Lazy in Swift

How to use Lazy in Swift

SwiftUI Data Flow and View Composition Tutorial

SwiftUI Data Flow and View Composition Tutorial

Учебное пособие по шаблону протокола делегирования Swift — шаблоны взаимодействия iOS, часть 1

Учебное пособие по шаблону протокола делегирования Swift — шаблоны взаимодействия iOS, часть 1

Объяснение работы замыканий в Swift: основы и завершающие замыкания | #100daysOfiOS День 13

Объяснение работы замыканий в Swift: основы и завершающие замыкания | #100daysOfiOS День 13

How to Load Data From a JSON File Into Your App | Swift 5 in Xcode 11

How to Load Data From a JSON File Into Your App | Swift 5 in Xcode 11

SwiftUI - How to do Navigation in your Swift UI app

SwiftUI - How to do Navigation in your Swift UI app

Core Data Tutorial - Lesson 2: Set up Core Data in Your Xcode Project (New or Existing)

Core Data Tutorial - Lesson 2: Set up Core Data in Your Xcode Project (New or Existing)

Parse JSON in App Like a PRO (Xcode 12, Swift 5, 2020) - iOS Development

Parse JSON in App Like a PRO (Xcode 12, Swift 5, 2020) - iOS Development

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com