I'm relatively new to programming, sorry I've the question was answerd already.
I'm trying to get a specific value from a JSON I've got from an API. The JSON looks like this after I tabbed into the first {} and saved it into a list.
Now I need to extract all "term" values. Tried many approaches but I couldn't find the right approach for it.
[
[
{
'id': 292,
'categories': [
],
'terms': [
{
'term': 'Erprobung'
},
{
'term': 'Probe'
},
{
'term': 'Prüfung'
},
{
'term': 'Test'
},
{
'term': 'Versuch'
}
]
},
{
'id': 4398,
'categories': [
],
'terms': [
{
'term': 'Leistungsnachweis'
},
{
'term': 'Prüfung'
},
{
'term': 'Test'
}
]
},
{
'id': 5752,
'categories': [
],
'terms': [
{
'term': 'Klassenarbeit'
},
{
'term': 'Klausur'
},
{
'term': 'Leistungsüberprüfung'
},
{
'term': 'Lernerfolgskontrolle'
},
{
'term': 'Prüfung'
},
{
'term': 'Schularbeit'
},
{
'term': 'Schulaufgabe'
},
{
'term': 'Test'
},
{
'term': 'Arbeit',
'level': 'umgangssprachlich'
}
]
},
{
'id': 9138,
'categories': [
],
'terms': [
{
'term': 'Experiment'
},
{
'term': '(die) Probe aufs Exempel'
},
{
'term': 'Probelauf'
},
{
'term': 'Studie'
},
{
'term': 'Test'
},
{
'term': 'Testballon'
},
{
'term': 'Testlauf'
},
{
'term': 'Trockenlauf'
},
{
'term': 'Trockentest'
},
{
'term': 'Versuch'
},
{
'term': 'Versuchsballon'
}
]
},
{
'id': 6241,
'categories': [
],
'terms': [
{
'term': 'Bewährungsprobe'
},
{
'term': 'Feuerprobe'
},
{
'term': 'Feuertaufe'
},
{
'term': 'harte Prüfung'
},
{
'term': 'Lackmustest'
},
{
'term': 'Nagelprobe'
},
{
'term': 'Test'
}
]
}
]
]