DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
count json objects
var jsonObject = {"test1":1,"test2":2}; var keyCount = Object.keys(jsonObject).length;
PREVIOUS
NEXT
Tagged:
#count
#json
#objects
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit