object-serialization

Java: Serialize a Collection XML

Every time I've searched for something on how to serialize to XML, I found the bean serializers. It seems that everything has to be declared as a property, which defeats my purpose. I want to serialize complex hierarchies (until they get to primitives, of course) in XML, start with (say) a Dictionary or List as the parent object. What o...

PHP remove object reference before serialize, restore after.

I have some objects that I wish to cache on disk. I use serialize() in this process. The objects contain some references to other objects. I don't want those to be serialized as well (that is done in some other place) because it would give me duplicate instances of the same real-world object when unserializing. Is there a way to change ...

php how to serialize array of objects?

Hello, I have small class called 'Call' and I need to store these calls into a flat file. I've made another class called 'CallStorage' which contains an array where I put these calls into. My problem is that I would like to store this array to disk so I could later read it back and get the calls from that array. I've tried to achieve ...

Flex Serialization for inbuilt components like...HBox, VBox, Panel, Canvas, DataGrid...

Here is the problem...I'm working on a flex application(actionscript)... I have a Panel in my application which contains 2 buttons and 3 canvas components at certain posstions...now I want to store the current state of panel in some file or database...and afterwards I want to load the same panel again in my application when I come back ...