I have a JSON that I need to parse.
{
"Room 251": {
"calID": "[email protected]",
"availMsg": "Open Computer Lab"
},
"Room 318": {
"calID": "[email protected]",
"availMsg": "Open Computer Lab"
},
"Room 319 (Friends Room)": {
"calID": "[email protected]",
"availMsg": "Available For Study"
},
"Room 323": {
"calID": "[email protected]",
"availMsg": "Open Computer Lab"
},
"Room 513 (Voinovich Room)": {
"calID": "[email protected]",
"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?