I have a JSON item:
And a Xojo Class:
cAudio index as integer shuffle() as integer time as double
So why does this code raise a TypeMismatchException?
me.shuffle = jsonItem.lookup("shuffle", me.shuffle)
My guess is that a json item of "" is not returning an empty integer array, but some other type (perhaps nil?)