Am 02.05.2014 12:25, schrieb Sönke Ludwig:
Am 02.05.2014 11:51, schrieb bossfong:
Does the vibe.data.serialization framework also serialize struct or
class properties? It seems like it doesn't and I would like to know
whether there is a reason for this behaviour and if yes, what the
reasoning is.Greets,
bossfongIt should! However, it does that only for properties that have getter
and setter overloads, so that de-serializing also works. But maybe it
would make sense for special use cases to add some UDA to force
serializing certain properties...
Ah, that makes total sense... Since I wanted to start on deserealizing
those structs soon anyways, I'll just add setters for those, thanks!
serializer is allowed to use those setters?