Search
 
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
Name
7+7 =