Mathew K Analytics

Learn JSON with free notebooks

21 free video lessons that use JSON, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn JSON by working through real examples.

About these JSON lessons

These 21 lessons come from 12 different courses, so you see JSON used in several settings. The course with the most JSON lessons is Python Beginner Course (4 lessons). 8 of the lessons include a real dataset to practise on.

JSON is most often used here together with pandas, datetime, CSV and pathlib.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use JSON

Scrape a Paginated API in Python: Social Media Posts to Pandas | Data Analytics #2118 min
Lesson 21

Scrape a Paginated API in Python: Social Media Posts to Pandas | Data Analytics #21

📊 Dataset · 📓 Notebook · pandas · JSON · Requests

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)1 h 1 min
Lesson 4

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)

📓 Notebook · openpyxl · collections · dataclasses

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)58 min
Lesson 8

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)

📓 Notebook · pathlib · datetime · CSV

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)55 min
Lesson 9

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)

📓 Notebook · JSON · pathlib · SQLite

Web Scraping & APIs for Beginners: requests + BeautifulSoup (Beginner Python Course, Part 10)56 min
Lesson 10

Web Scraping & APIs for Beginners: requests + BeautifulSoup (Beginner Python Course, Part 10)

📓 Notebook · JSON · pathlib · Requests

Read & Write Files in Python (CSV & TXT) | Data Analytics #513 min
Lesson 5

Read & Write Files in Python (CSV & TXT) | Data Analytics #5

📊 Dataset · 📓 Notebook · CSV · JSON

Python for Beginners: From Variables to Real Mini Projects1 h 1 min
Lesson 4

Python for Beginners: From Variables to Real Mini Projects

📊 Dataset · 📓 Notebook · datetime · openpyxl · JSON

Web APIs & Requests In Depth27 min
Lesson 7

Web APIs & Requests In Depth

📓 Notebook · JSON · Requests

Data Mining Full Course Part 2 (2 Hours): Data Cleaning, Preprocessing & PCA in Python1 h 58 min
Lesson 2

Data Mining Full Course Part 2 (2 Hours): Data Cleaning, Preprocessing & PCA in Python

📊 Dataset · 📓 Notebook · scikit-learn · pandas · Matplotlib

Python json & csv Explained: Read and Write Data Files | Standard Library #818 min
Lesson 8

Python json & csv Explained: Read and Write Data Files | Standard Library #8

📓 Notebook · JSON · CSV · datetime

Python uuid, base64 & binascii Explained: Encode Anything | Standard Library #2317 min
Lesson 23

Python uuid, base64 & binascii Explained: Encode Anything | Standard Library #23

📓 Notebook · JSON

Build a Python CLI Tool from Scratch | Standard Library Capstone #2518 min
Lesson 25

Build a Python CLI Tool from Scratch | Standard Library Capstone #25

📊 Dataset · 📓 Notebook · argparse · dataclasses · pathlib

pytest Tutorial #13: Temporary Files & Directories
Lesson 13

pytest Tutorial #13: Temporary Files & Directories

📓 Notebook · pytest · JSON

pytest Tutorial #18: Capstone — Testing a Real Package End to End
Lesson 18

pytest Tutorial #18: Capstone — Testing a Real Package End to End

📓 Notebook · pytest · JSON · logging

Read and Write CSV, Excel, JSON and SQL in Pandas (No More File Errors) | Pandas Course #7
Lesson 7

Read and Write CSV, Excel, JSON and SQL in Pandas (No More File Errors) | Pandas Course #7

📊 Dataset · 📓 Notebook · pandas · JSON · SQLite

Turn API JSON into a Pandas DataFrame with json_normalize | Pandas Course #49
Lesson 49

Turn API JSON into a Pandas DataFrame with json_normalize | Pandas Course #49

📊 Dataset · 📓 Notebook · pandas · JSON · Matplotlib

06 Reading CSV, Excel, and JSON Files in Python13 min
Lesson 28

06 Reading CSV, Excel, and JSON Files in Python

📓 Notebook · CSV · pandas · JSON

07 Writing CSV, Excel, and JSON Files in Python13 min
Lesson 29

07 Writing CSV, Excel, and JSON Files in Python

📓 Notebook · CSV · openpyxl · JSON

How to Import and Export CSV, Excel, and JSON Files in Python for Data Management11 min
Lesson 6

How to Import and Export CSV, Excel, and JSON Files in Python for Data Management

📊 Dataset · 📓 Notebook · pandas · Matplotlib · JSON

OpenAI Function Calling Explained with Error Handling in Python4 min
Lesson 12

OpenAI Function Calling Explained with Error Handling in Python

📓 Notebook · JSON · NumPy · OpenAI

Understanding Pydantic: Efficient Data Validation and Management in Python16 min

Understanding Pydantic: Efficient Data Validation and Management in Python

📓 Notebook · Pydantic · JSON

Frequently asked questions

Where should I start learning JSON?

Start with “Scrape a Paginated API in Python: Social Media Posts to Pandas | Data Analytics #21”, then work through the Python Beginner Course course.

Are these JSON lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the JSON notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.