Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Working with JSON Data in Python

Give Feedback

In this video, you’ll get some practice deserializing JSON data from a web API. Then, you’ll learn how to manipulate this extracted data to derive meaning from it.

If you’re following along, here’s the resource used in the video: jsonplaceholder.typicode.com/todos

Comments & Discussion

terrymiddleton on May 11, 2019

I still don’t understand the what the difference is between serialized and deserialized means. Is it just that when deserializing we are pulling the matching the data to the key pairs when we read the json file? I’m missing somthing.

himanshuwadhwa on June 12, 2019

Serializing - Converting Python’s List data format into JSON data . So you are encoding the python data into JSON data format (object format or string format)

Deserializing : Just doing the opposite ie decoding the JSON data back to Python data format .

Pulling the data from a Web API will give JSON formatted data which has to be converted (decoded) to Python data and based on whether you need the enitire data or not you apply relevant Python techniques to filter your final data.

ravipgupta12 on Nov. 12, 2019

What is the process for importing data from Json file into python?

Ranit Pradhan on March 28, 2020

Todos isn’t working in Jupyter Notebook and Python IDE 3.7 but it’s working in Spyder IDE. Can you tell me please, how it will work in Jupyter Notebok?

maniviswa on April 24, 2020

Its hard to understand, you could have taken aws as an example, it will be easier to understand.

cartwrightjarrod on May 7, 2020

How did you get the output screen on the right? what is that part in vs code is it an extension ?

cartwrightjarrod on May 7, 2020

So when I go to print the filtered object before converting it it just returns the object at some memory location, not the actual filtered object. so it seems in order to view it, you actually have to convert it to some type of containter, am I correct?

Become a Member to join the conversation.