loop through json object

loop through json object

Hi all, 

i have the folowing JSON object:

 var jsObject = {
                "name": "Student1",
                "members": {
                    "data-content-type": "saAfterFullStud",
                    "data-key": 1,
                    "data-value": 007
                }
                  ,
                "name": "Student2",
                "members": {
                    "data-content-type": "saAfterRedStud",
                    "data-key": 1,
                    "data-value": 222
                }
                  ,
                "name": "Student3",
                "members": {
                    "data-content-type": "saAfterAtCost",
                    "data-key": 1,
                    "data-value": 222
                }

            }


I would like to loop through this object and get the  values to a variable like

var firstStudent = Student1
var firstStudent_datavalue = 222

and so on...for all three stduents

How can i achieve this. Thank you