import com.adobe.serialization.json.JSON; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.rpc.events.ResultEvent; private function test(event:Event) : void { var data:String = new String('[{"userId": "1001", "userName": "Johnson"},{"userId": "1002", "userName": "Jack"}]'); var arr:Array = (JSON.decode(data) as Array); var json:ArrayCollection = new ArrayCollection(arr); Alert.show(json.length + "-->" + json.getItemAt(0).userId); }