[XmlClass(alias="hauptkategorie")]
[Bindable]
public class MainCategory implements IIdentifiable
{
[XMLElement()]
public var ID : String;
[XMLElement(ali)]
public var name : String;
[XmlArray(alias="*", memberName="subkategorie", type="model.SubCategory")]
public var subCategories : Array;
public function MainCategory()
{
super();
}
public function get thisType():Class
{
return MainCategory;
}
public function get id() : String
{
return ID;
}
}
it deserializes the structure of the arrays correct, but doesn't deserialize the correct values if "ID" and "name", they are always null.