JSON and isDefined
Hi,
I am consuming some JSON data from www.worldweatheronline.com. I send them long/lat details and get back weather info. I get the results and DeserializeJSON them to to ouput the resultant array just fine, but what I don't know how to do is to handle the results when there are NONE.
My ouput is as follows:
#myJSON.data.weather.tempMaxC#
My question is, if there is no weather array returned how can I test for this? Isdefined does not seem to be working for me.
Help Please.
Cheers,
Aaron.
