get size of JSON object get size of JSON object json json

get size of JSON object


You can use something like this

var myObject = {'name':'Kasun', 'address':'columbo','age': '29'}var count = Object.keys(myObject).length;console.log(count);