Obtenez des clés la longueur jQuery
var a= {"a":"a", "b":"b"};
Object.keys(a).length;
//output length: 2
Jerome Choo
var a= {"a":"a", "b":"b"};
Object.keys(a).length;
//output length: 2