My question is short and concise.
I need count the attributes of Json object, for example
obj={
name:'Jhon',
age:25
}
This must return 2, one for 'name' and ohter for 'age'. I try use.
obj.count();
obj.length();
But nothing...
The all solutions that I found in internet was for count elements of array.
Thanks to all!