Hi all,
I've got a strange problem when receiving some JSON response.
when making some request with makeWebRequest, I receive respone like this
"weather":[{"id":500,"main":"Rain","description":"l\xC3\xA9g\xC3\xA8re pluie","icon":"10d"}],,
in my code, I get values with :
summary = data["weather"]["description"];
weathericon = data["weather"]["icon"];
at run time I then have :
Error: Unhandled Exception
Exception: UnexpectedTypeException: Expected Number, given String
Stack:
which I can't understand as what I need is a string ! where in the world is there a Number ?
thanks for help