I have a small JSON file and want to check if "fullday":"no" is in a object. If this is true it needs to output no.
How can I do this with PHP?
{
"calendar": {
"title": "Agenda punten",
"agenda": [
{
"id":1,
"datum": "2015-07-13",
"title": "Titel agendapunt #1",
"beschrijving": "Dit is een beschrijving",
"fullday": "no"
},
{
"id":2,
"datum": "2015-07-14",
"title": "Titel agendapunt #2",
"beschrijving": "Dit is een beschrijving",
"fullday": "yes"
}
]
}
}
Thanks!