Check if an json array is empty

Anyone knows how to check an json array is empty?

I have gathered a few json arrays but some of them are empty, could anyone advise me how to verify if any json array is empty?

Regards,
Victor

@Victor_Victory Is it in jsonObject or JsonArray format or is it in a string format, if in jsonObject or jsonArray, then Try using jsonVar.Count>0 to check if there are items using if condiion

2 Likes