I have a JSON that I need to parse.
{
"Room 251": {
"calID": "igm4pfi6cc78ncvm5i3gv521snp0si82@import.calendar.google.com",
"availMsg": "Open Computer Lab"
},
"Room 318": {
"calID": "9duielvutvv2b8d52ikgf8793pbn43sk@import.calendar.google.com",
"availMsg": "Open Computer Lab"
},
"Room 319 (Friends Room)": {
"calID": "q5tj99a61g71eqcaboae6md0qahle2hv@import.calendar.google.com",
"availMsg": "Available For Study"
},
"Room 323": {
"calID": "josiglibstb75c88o4s4f2r3h4i3lagc@import.calendar.google.com",
"availMsg": "Open Computer Lab"
},
"Room 513 (Voinovich Room)": {
"calID": "anjv4nfcr0b00sttbjp6cse5l7j0mvbe@import.calendar.google.com",
"availMsg": "Available For Study"
}
}
I need to obtain the room name, the calID, and the available message. What would be the best way to go about doing this in PHP/Laravel?
via Zach Tackett