Loop over the item in your data, and in the loop, create a new value
object, assign the property values from your current data item, and push
the value object onto an Array. After the loop, wrap the Array in an
ArrayCollection.
Tracy
From: flexcoders@yahoo
jovialrandor 写道:
> I want to convert the data I get back from an HTTPService into name/
> value pairs as listed in the object below.
>
> eg.
>
> HTTPService returns
>
> ["a", "john", "analyst" ]
> ["b", "mary", "programmer" ]
> ["c", "jane", "director" ...]
>
> convert to
>
> "a":"jo
2 matches
Mail list logo