walcl / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

JSON Object Problem within ArrayCollection #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

i am trying to populate the following JSON to an ArrayCollection for using as 
my DataProvider to a Flex Combobox.

This is how the JSON looks i would like to use:

{ "0": { "key": "Brother", "value": "306", "isPremium": "1" } }

which returns in [object Object] and null-object when trying to trace out the 
ArrayCollection push the values to the Combobox.

However when i the following markup instead it just works fine.

[{ "key": "Brother", "value": "306", "isPremium": "1" }]

The Problem now. I can´t control the Webservices JSON Output
How to get it working with my ArrayCollection ? 

Original issue reported on code.google.com by braingi...@googlemail.com on 13 Jul 2011 at 9:20