Home » U++ Library support » U++ Core » Optional serialization techniques
Optional serialization techniques [message #31354] |
Thu, 24 February 2011 16:27  |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
I have a version 1.0 of my application which serializes a VectorMap of some object into the file with StoreToFile. We of course know that if VectorMap object is being changed, the whole de-serialization is failed.
So here is my problem: I develop 1.1 version with objects which are slightly different. And actually what I want is that 1.1 version reads everything from config file ignoring the fact that objects can't be de-serialized completely (I just add more members since 1.0).
I don't want to make object members 'dynamic' (using VectorMap<String,Value> instead of plain members).
Yes, and I really don't want to use XML as speed is the most important in this case. And there is no problem just adding new members since new version (not removing old or replacing them).
Can you please suggest the most effective way of doing it?
Effective means the most quickly working while not rewriting all of U++ serialization code
[Updated on: Thu, 24 February 2011 18:29] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Aug 26 00:42:40 CEST 2025
Total time taken to generate the page: 0.07502 seconds
|