Getting the number of elements in an array


hi,

i decoding json formated responses this library , want count of items within array part of response number of elements within array changes. have done search use , found sizeof(json["applications"]) returns constant value of 8.

any appreciated  :)

thanks,
bay101

if have jsonarray object, use array.size();


Arduino Forum > Using Arduino > Programming Questions > Getting the number of elements in an array


arduino

Comments

Popular posts from this blog

sd card Could not find FAT16/FAT32 partition [solved]

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

DHT11 Time out error using v0.4.1library