get all keys in json object

JavaScript
var obj = {name: "Jeeva", age: "22", gender: "Male"}
console.log(Object.keys(obj))
Source

Also in JavaScript: