'How can I save list object to disk when changed
I have a list of objects which I'd like to save to disk when ever an item is changed.
One option is to serialize the whole list but given there will be thousands of entities it seems like a bit of a waste to write the whole thing to disk again.
Is there a way to update the serialised file with just the data that's changed and not have to serialize the whole thing each time one entity is changed?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
