I have a Array of objects which is something like this :
SomeObject (Array)
[0] (object)
id = 1
name = 'one'
[1] (object)
id = 2
name = 'two'
I need it to be An Array of arrays , something like this :
someobject (array)
[0](array)
id = 1
name = 'one'
[1](array)
id = 2
name = 'two'
If I do :
test:Array = someobject as Array
This only converts the top not the inner objects. If I try to loop through it and make individual arrays ‘as arrays’ it gets null.
Any Ideas?
asdoesn’t convert anything at all.also, there is no point in doing, what you’re doing. when working with string keys, there is no difference between
ObjectandArray. so why would you want to do that?greetz
back2dos