The Ultimate Json With Python Course + Jsonschema & Jsonpath
Published 3/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.80 GB | Duration: 4h 43m
Published 3/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.80 GB | Duration: 4h 43m
Master JSON with Python: Learn to parse, generate, manipulate, validate, query, and compare JSON documents in Python
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
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 caseshow to parse, generate, and manipulate JSON documents in Pythonhow to source and send JSON from and to web APIsa thorough introduction to JSONSchemahow to validate JSON documents against JSONSchema in Pythoncomposing and extending schemas using python, including those with $id, $ref, and $defshow to use JSONPath queries to extract data from JSON documentshow to compare complex and nested JSON documents in PythonIn 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!
Overview
Section 1: Very Brief Introduction
Lecture 1 Welcome!
Lecture 2 Course Resources
Section 2: Introduction To JSON
Lecture 3 Section Resources
Lecture 4 Understanding The JSON Format
Lecture 5 Why Is JSON So Popular?
Lecture 6 Core Data Types
Lecture 7 Common Data Shapes
Section 3: Working With JSON In Python
Lecture 8 Section Resources
Lecture 9 Difference Between Python dict And JSON
Lecture 10 The json Module And Serialization
Lecture 11 Deserialization
Lecture 12 Web Requests And APIs
Lecture 13 A Better Alternative: The requests Library
Lecture 14 Edge Cases In Serialization
Lecture 15 Serializing User-Defined Classes
Lecture 16 Skill Challenge - JSON Data Transformation Challenge
Lecture 17 Solution
Section 4: Schemas And Instance Validation
Lecture 18 Section Resources
Lecture 19 Why Validate?
Lecture 20 Schema Construction
Lecture 21 More Schema Definitions
Lecture 22 Subschemas And Remote References
Lecture 23 Applicators And Advanced Techniques
Lecture 24 Skill Challenge - Defining A Polymorphic JSON Schema
Lecture 25 Solution
Section 5: Automating Validation With JSONSchema
Lecture 26 Section Resources
Lecture 27 Setting Up
Lecture 28 Validating Formats
Lecture 29 Crafting Customized Formats
Lecture 30 Dereferencing
Lecture 31 Skill Challenge - Programmatic JSON Document Validation From API
Lecture 32 Solution
Section 6: The JSON Query Language: JSONPath
Lecture 33 Section Resources
Lecture 34 Understanding JSONPath
Lecture 35 jsonpath-ng In Python
Lecture 36 More Practice
Lecture 37 Advanced Patterns
Section 7: 6. Diffing Payloads
Lecture 38 Section Resources
Lecture 39 Standard Library's Difflib
Lecture 40 Easier Diffing With JsonDiff
Lecture 41 DeepDiff
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