var obj = {name: "Jeeva", age: "22", gender: "Male"}
console.log(Object.keys(obj))
let array = [{"time":"2016-07-26 09:02:27","type":"aa"},
{"time":"2016-11-29 05:21:02","type":"ar"},
{"time":"2016-03-08 05:46:01","type":"ar"},
]
array = array.map(i => i.type); //Get all type values in object