SyntaxFix
Write A Post
Hire A Developer
Questions
That's an Object and you want to count the properties of it.
Object.keys(jsonArray).length
References:
Object.keys