Skip to content

Conversation

@ManuG85
Copy link

@ManuG85 ManuG85 commented Apr 27, 2017

Added callback properties to Settings class which get called from the ObjectSerializer before an object gets serialized or deserialized.
These callbacks can be used e.g. to log actually used types or to register types on demand. The later can be used when there are two instances of the serializer (because they are in different processes or in a client-server environment) to inform the counterpart about registrations.

ManuG85 added 4 commits April 27, 2017 22:30
Introduced a callback to get informed about a type before an instance of it gets serialized and another one to get informed about an type id before it gets used to deserialize an object.
Set before (de)serialization callbacks to collect used types.
Print the types used for serialization and the type ids used while deserializing objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant