What is JSON?

In this video, you’ll learn what JSON is and where it’s used.

JavaScript Object Notation (JSON) is a standardized format commonly used to transfer data as text that can be sent over a network. It’s used by lots of APIs and Databases, and it’s easy for both humans and machines to read.

JSON represents objects as name/value pairs, just like a Python dictionary.

You can start using JSON right away with the built-in module:

import json

Serialization is the process of encoding data into JSON format (like converting a Python list to JSON).

Deserialization is the process of decoding JSON data back into native objects you can work with (like reading JSON data into a Python list).

Comments & Discussion

Brett Boresow on April 14, 2019

Solid overview!

Become a Member to join the conversation.