P
Pure Krome
How do i serialize two instances (of some object) in the
same class? I'm not sure how i would de-serialize a
class that has two or more instances of some object type,
and how the deserialize method would KNOW which
serialized instance to read.
eg.
class Foo
{
objA arraylist()
objB arraylist()
}
public GetObjectData(...)
{
objA.GetObjectInfo(..);
objB.GetObjectInfo(..);
}
how would the DE-SERIALIZED CONSTRUCTOR know which
arraylist to de-serialize?
-PK-
same class? I'm not sure how i would de-serialize a
class that has two or more instances of some object type,
and how the deserialize method would KNOW which
serialized instance to read.
eg.
class Foo
{
objA arraylist()
objB arraylist()
}
public GetObjectData(...)
{
objA.GetObjectInfo(..);
objB.GetObjectInfo(..);
}
how would the DE-SERIALIZED CONSTRUCTOR know which
arraylist to de-serialize?
-PK-