I have the following JSON file:
{"Mensaplan": [{
"Montag": [
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": true, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false}
],
"Dienstag": [
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": true},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false}
],
"Mittwoch": [
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": true, "bio": false},
{"food": "Schnitzl", "price": "4.00 €", "vegetarian": false, "bio": true}
],
"Donnerstag": [
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false}
],
"Freitag": [
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false},
{"food": "Schnitzl", "price": "5.00 €", "vegetarian": false, "bio": false}
]
}]
}
I want to iterate over the "Mensaplan" and get each day ("Montag", "Dienstag", [...] (it's German)). I was trying to do this with the jQuery Method $.each but I don't get how to formulate a wildcard for the days as each one has a different name.
Can anyone help me with this matter?
Thank in advance!