Skip to content
Advertisement

Python: Get all values of a specific key from json file

Im getting the json data from a file:

JavaScript

here’s my initial code:

JavaScript

I want to get the values of all names

JavaScript

Advertisement

Answer

you need to extract the names from the students list.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement