I am decoding some JSON formated responses with this library and want to get the count of items within an array that is part of a response as the number of elements within the array changes. I have done a search for what to use and only found sizeof(json["Applications"]) which returns a constant value of 8.
That will be the number of bytes used by the array. The number of elements in the array depends on the data type. So, if you divide the number of bytes used by the array by the number of bytes in each element you will get the number of elements