cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Allow serializer/deserializer interface to use intermediate format instead of files #70

Open rlux opened 10 years ago

rlux commented 10 years ago

I want to serialize a property group to an intermediate ini object and manipulate it before writing it to a file. I want to deserialize a file to an ini object and manipulate it before parsing it as a property group.

Use case: I have several different types of proerty trees and want to encode in the ini file what type of tree it is. Currently this is only possible with a lot of warnings and a 2-pass parsing.

mjendruk commented 10 years ago

What about adding the possibility to serialize some meta information via Variants? That would be way easier.