how to get length of json in javascript code example
Example: json object length in javascript
const data = { a : 'b', c : 'd' };
const length = Object.keys(data).length;
//Length is 2
const data = { a : 'b', c : 'd' };
const length = Object.keys(data).length;
//Length is 2