Популярное

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

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

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

Топ запросов

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

What is JSON - JSON Parsing in Swift

Автор: CodeWithChris

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

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

Описание:

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

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

Как парсить json в SWIFT. Parse JSON SWIFT. Работа с JSON iOS SWIFT

Как парсить json в SWIFT. Parse JSON SWIFT. Работа с JSON iOS SWIFT

Data Flow in a SwiftUI App

Data Flow in a SwiftUI App

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

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

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

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

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

ЭТИ АЛГОРИТМЫ СДЕЛАЮТ ИЗ ТЕБЯ ПРОГРАММИСТА

ЭТИ АЛГОРИТМЫ СДЕЛАЮТ ИЗ ТЕБЯ ПРОГРАММИСТА

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Learn JSON in 10 Minutes

Learn JSON in 10 Minutes

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

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)

CI/CD — Простым языком на понятном примере

CI/CD — Простым языком на понятном примере

Филипп Робертс: Что за чертовщина такая event loop? | JSConf EU 2014

Филипп Робертс: Что за чертовщина такая event loop? | JSConf EU 2014

Краткое объяснение больших языковых моделей

Краткое объяснение больших языковых моделей

Using Generics to decode JSON

Using Generics to decode JSON

Изучите групповую политику Microsoft простым способом!

Изучите групповую политику Microsoft простым способом!

2 Основы декодирования JSON — Swift

2 Основы декодирования JSON — Swift

Учебник Pydantic • Решение самой большой проблемы Python

Учебник Pydantic • Решение самой большой проблемы Python

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

SwiftData Basics in 15 minutes

SwiftData Basics in 15 minutes

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



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



Контакты для правообладателей: [email protected]