I've got a json array like this:
var weekdayarrayA = [{
        "course": {
            "id": 44,
            "name": "test".......
        },
        "data": {
            "0": 2,
            "1": 1,
            "4": 1
        }
    }, {
        "course": {
            "id": 45,
            ,
            "name": "test2".......
        },
        "data": {
            "0": 2,
            "1": 1,
            "4": 1
        }
    },
What I need is to get from each course the name and the data array
How can I access thos data?
Thanks a lot
 
     
    