Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Reading JSON files
4. Access JSON fields
Summary and Review


Great! As you could see, the load() function returns a dictionary with key-value pairs. Because we get key-value pairs, we can choose what element we want to see. If we only wanted to see the user's first name, we could write:



Print only the last name of customer1. Use the last_name field.