Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serializer and deserializer builders #204

Merged
merged 5 commits into from
Sep 7, 2016

Conversation

aaubry
Copy link
Owner

@aaubry aaubry commented Aug 31, 2016

This is an important change that adds "builders" that can be used to configure the Serializer and Deserializer through a fluent syntax. The main objective of this is to allow more control over the composition of services performed by these two classes. This means that every aspect of the composition should be extensible / overridable. This means that things like injecting a custom TypeInspector or replacing the the default ArrayNodeDeserializer with an alternative implementation become possible and easy.

In order to avoid breaking existing code, the constructors of Serializer and Deserializer have been kept but marked as obsolete. In a future release they will be discarded, but for now existing code should not need to be changed.

@aaubry aaubry merged commit 3321d80 into master Sep 7, 2016
@tomitrescak
Copy link

Hi, thanks for the hard work! Was wondering if this is documented somewhere? All the docs I've found are using the obsolete API

@aaubry aaubry deleted the feat-serializer-and-deserializer-builders branch May 15, 2017 09:23
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.

2 participants