Android Question How to determine if a JSON element contains an Array

Jeff (Not 24)

New Member
Licensed User
Longtime User
I am very new to both B4A and JSON and am trying to parse a JSON file. Everything seems to be working fine; however, I'd like to be able to determine if the element I'm on is an array or not. Of course, I could use the name of the particular element sine I know that "Volume" contains an array, but if I wanted to do it more generically, I would do something like:

If myElement isArray .... or maybe
If myElement.Size > 1

but I know these won't work. Any ideas?

Thanks ... Jeff
 
Top