tags:

views:

29

answers:

0

The code below is not working and i'm not getting any errors. This is Flex 4.0

import com.adobe.serializers.json.JSONDecoder;

var s:String="{hours:16, minutes:9, seconds:2}";
var obj:Object=j.decode(s);
Alert(obj.hours.toString());