Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get json keys

myObject = {
	"key": "value"
}

Object.keys(myObject); // get array of keys
 
PREVIOUS NEXT
Tagged: #js #json #keys
ADD COMMENT
Topic
Name
1+7 =