From the course: Learning Python
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Working with JSON data - Python Tutorial
From the course: Learning Python
Working with JSON data
- [Speaker] In this example, we're going to build on what we learned in the previous video to see how to use Python to connect to a real-time JSON data feed and process the information. JSON stands for JavaScript object notation. It is a very common data format. You'll run into this a lot when you're working with data from various different sources on the internet. JSON is essentially a way of representing the data in an object as a string. So let's take a look at a sample JSON data object. The data is represented as key value pairs, and if this looks familiar, that's because it's essentially just like the dictionary objects that we learned about back in chapter two. So in this example, the JSON represents data about a person and you can see the string starts and ends with curly braces. And each field of data has a string as a name, as a key value. And then a data value. In this case, there's a string for the name, an integer for the age, there's a list of strings for the skills and…