I have a little problem. I don't know much about json and I need help. I have main.py file and the .json file. I, for example, want to output a certain line from .json file in print() in main.py. For Example, the json file has the line "name":"Alex"
and the second line "name":"John"
. I need to make sure that it finds the line "name":" Alex"
in the json file and outputs the name Alex in main.py. I hope I have made my question clear
So this is a piece of json file. It's Schedule of university
"group": "КМБО-02-19",
"days": [
{
"day": "ПН",
"pars": [
{
"name": "Введение в ПД",
"type": "зачет",
"number": 3,
"place": "Б-209",
"whiteWeek": 17
}
]
},
{
"day": "ВТ",
"pars": [
{
"name": "Программирование в ЗР",
"number": 2,
"place": "Б-209",
"type": "зачет",
"whiteWeek": 17
},
{
"name": "Физкультура и спорт",
"type": "зачет",
"number": 5,
"whiteWeek": 17
}
]
}