Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get all keys in json object

var obj = {name: "Jeeva", age: "22", gender: "Male"}
console.log(Object.keys(obj))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #keys #json #object
ADD COMMENT
Topic
Name
9+5 =