Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Ultimate JSON With Python Course + JSONSchema & JSONPath
Rating: 4.3 out of 5(151 ratings)
1,416 students

The Ultimate JSON With Python Course + JSONSchema & JSONPath

Master JSON with Python: Learn to parse, generate, manipulate, validate, query, and compare JSON documents in Python
Created byAndy Bek
Last updated 1/2026
English

What you'll learn

  • Understand the JSON standard, its use cases, and history
  • Learn how to parse, generate, and manipulate JSON documents in Python
  • Master JSONSchema and use it to programmatically validate JSON documents
  • Utilize JSONPath to extract data from JSON documents
  • Learn how to compare JSON documents in Python, using difflib, jsondiff, and deepdiff
  • Gain a deep understanding of JSON and how to work with it in Python, and be able to confidently use JSON in your own projects

Course content

7 sections41 lectures4h 43m total length
  • Welcome!1:18

    Begin by running Python with Jupyter notebooks in VS Code, and access a zip of notebooks, code, JSON payloads, and source URLs attached to this lecture.

  • Course Resources0:08

Requirements

  • No programming experience required

Description

Welcome to the best resource online for mastering JSON with Python!

JSON is a widely used data interchange format that is easy for humans to read and write and easy for machines to parse and generate.

Today JSON is everywhere, from web APIs to data storage, configuration files, and more. It's so ubiquitous that it has effectively become the lingua franca of data interchange on the web.

In this course, you will learn everything you need to know to become a JSON expert in Python including:


  • an introduction to JSON and its use cases

  • how to parse, generate, and manipulate JSON documents in Python

  • how to source and send JSON from and to web APIs

  • a thorough introduction to JSONSchema

  • how to validate JSON documents against JSONSchema in Python

  • composing and extending schemas using python, including those with $id, $ref, and $defs

  • how to use JSONPath queries to extract data from JSON documents

  • how to compare complex and nested JSON documents in Python


In the first section, we'll start with an introduction to the JSON standard, its use cases, and history. We'll cover the basics of JSON, including its syntax, data types, and structure, and we'll explore why JSON is so popular and how it compares to other data interchange formats.

Then, we will switch gears and turn our attention to the practical aspects of working with JSON in Python. We'll learn how to parse, generate, and manipulate JSON documents in python code, covering not only the basics of the standard but also much more nuanced and advanced topics such as serialization and deserialization challenges as well as sourcing and sending JSON from and to web APIs.

Next, we are going to explore JSONSchema: a very important aspect of working with JSON documents. Schemas will allow us to define the structure of JSON, and validate documents at runtime. Our coverage of JSONSchema will be comprehensive, starting from the very basics of defining schemas before moving on to more advanced topics such as handling refenerntial relationships, applicators, polymorphic schemas, and custom format validation all using Python code.

Then we will cover JSONPath, which is a query language for JSON documents. We'll learn how to use JSONPath to extract data from documents, including several advanced patterns such as filtering, slicing, and recursive descent.

The final section will be dedicated to comparing JSON documents using Python, an all too common task in the world of data validation, testing, and change tracking. In that section we will cover basic string-based comparisons as well as sophisticated alternatives that have a built-in understanding of the syntactic structure of the document.

By the end of this course, you will have a deep and practical understanding of JSON and how to work with it in Python, and you'll be able to confidently use JSON in your own projects. Throughout the course, there will be several opporutinites to practice what you learn through hands-on skill challenges.

So if you're tired of fumbling through JSON data in your Python projects, this is the course for you.

Enroll now and start your JSON mastery journey today!

Who this course is for:

  • Anyone interested in learning how to efficiently work with JSON data in Python
  • Data engineers who want to implement validation and data integrity using JSONSchema