Possible Duplicate:
How to count JavaScript array objects?
If it's not a JavaScript array, so how to convert it into JSON array?
var member = {
"mother": {
"name" : "Mary",
"age" : "48"
},
"father": {
"name" : "Bill",
"age" : "50",
"friend": {
"co-worker" : "Jake"
}
},
"brother": {
"name" : "Alex",
"age" : "28"
}
}