On November 29, 2013 at 10:18, Lyndel McGee said...
Did you try
if (weatherData.dayf.day[0].part.length > 1)
// 2 elements and element 0 is day, element 1 is night
else
// 1 element and element 0 is night
Just tried it. Length does not seem to come back as any value. I used System.print to display the value 'weatherData.dayf.day[0].part.length' and... nothing.
Any other thoughts?