You can find the size of JSON object as below:
for getting length of object
int length = jsonObject.length();
for getting length of array
int length = jsonArray.length();
This blog is about solutions for PHP,Python,JavaScript,j query,HTML,CSS and Ubuntu.
Comments
Post a Comment