cookies-icon

Our website uses cookies. By using this website, you agree to their use in accordance with the browser settings. You can modify your browser settings on your own. For more information see our Privacy Policy.

Course

Basic

How to Read and Write JSON Files in Python

35 exercises to learn what is JSON, why some compare it to XML, and how to read and write JSON files in Python.

Table of contents

Lifetime access

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

limited to this course only

$29

Buy now

Want a better deal?

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

Get unlimited lifetime access to all 13 present and future courses

Save $250

Unlimited lifetime access

B042DDD8-A1C9-4053-8AF3-463EB31543B8@2x

to all 13 present and future courses

$ 99

$ 349

72% OFF

Buy now Full pricing
35

Interactive exercises

7 h

Estimated time

249

Users enrolled

☆☆☆☆☆
★★★★★

3 ratings

This online course will be of interest to junior programmers and software developers.

Do you want to know how to work with JSON files in Python? Would you like to improve your already possessed Python JSON skills? Or maybe you finished learning Python basics and want to investigate more? Then this course is designed for you! You will have fun learning, and you will learn a new programming skill that is in high demand.

Course cover image. A cartoon assembly line that ends with Python logo, charts, and JSON files

When a web browser communicates with a server, the data can only be text. The JSON file is text only, and it can easily be sent to and from a server. JSON is a popular data exchange format between applications. For example, the Facebook API, Twitter API, and Google Calendar use the JSON format. Knowledge of JSON is useful when you want to write an application that uses this API (e.g. processes data from Facebook, Twitter, etc.)

You can use JSON as a data format with any programming language. In this online course, you'll learn how it can be used with Python. In this course, you'll establish the mindset you need to take your Python skills to the next level. At the end of the course, you'll get the chance to review your knowledge by challenging yourself with a quiz.

How to Read and Write JSON Files in Python is one of the courses from our Python File Processing series, where you learn working with files of different formats in Python. You can complete courses from the Python File Processing series in your desired order, as they're independent. Other courses from the series include:

Start learning how to read and write JSON files in Python now, and build a strong knowledge foundation for the future!

What's in It for Me?

  • 35 interactive exercises. Learn at your own pace, from anywhere and at anytime. Interact with hands-on exercises for better learning.
  • Lifetime access to the course. When you purchase the course, you'll get instant personal access to all of its content.
  • Certificate of completion. After you successfully finish all of the exercises, you'll get a downloadable PDF certificate to showcase your accomplishment.
  • 30-day money back guarantee. If you're not satisfied with the quality of the course, you can get a refund within 30 days of your purchase.
  • Hints for the exercises. You can ask questions and share insights with other members of our community through the Discuss tab.

What Are the Requirements?

  • A basic understanding of lists, dictionaries, sets, and tuples in Python (TIP: complete Part 1, Part 2, and Part 3 of our Python Basics series.)
  • Any web browser and an Internet connection.

Learn How to:

  • Find out when you’re dealing with a JSON file.
  • Work with JSON files in Python.
  • Differentiate JSON files from CSV files.
  • Open and read a JSON file with import json.
  • Handle a JSON file with a NULL, with an array, or with nested objects.
  • Write to a JSON file in Python using json.dumps().

Who Should Take This Course?

  • Students taking entry-level classes in Python.
  • Academics who want to leverage Python in their fields of study.
  • Junior software developers and programmers.
  • Programmers preparing for a technical interview.

Table of contents

Free

Paid content

0%

Course progress

0/35

Exercises completed

1.

Introduction

What are JSON files? Let's find out!

0/6
Start now

4.

Quiz

Check your skills in this final quiz.

0/5

Reviews (1)

Average rating

5.00 / 5

☆☆☆☆☆
★★★★★

3 ratings

Details

5 stars

100%

4 stars

0%

3 stars

0%

2 stars

0%

1 stars

0%