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

Custom JsonSerializer and JsonDeserializer #6

Closed
nmorel opened this issue Dec 4, 2013 · 1 comment
Closed

Custom JsonSerializer and JsonDeserializer #6

nmorel opened this issue Dec 4, 2013 · 1 comment
Assignees
Milestone

Comments

@nmorel
Copy link
Owner

nmorel commented Dec 4, 2013

Add a mechanism to add custom serializer/deserializer.
It could be use to make addon libraries for guava or jdk8 date time api.

@ghost ghost assigned nmorel Dec 4, 2013
nmorel added a commit that referenced this issue Dec 8, 2013
First part that allows custom mapper for basic types
nmorel added a commit that referenced this issue Dec 8, 2013
Added type checking for JsonSerializer and JsonDeserializer
nmorel added a commit that referenced this issue Dec 8, 2013
nmorel added a commit that referenced this issue Dec 8, 2013
nmorel added a commit that referenced this issue Dec 10, 2013
It is now possible to add custom serializer and deserializer.
It just requires the user to create a class that extends AbstractConfiguration and add it into a gwt property.
The generator will parse the user configuration and use the defined serializer/deserializer when it encounters the type.
@nmorel
Copy link
Owner Author

nmorel commented Dec 31, 2013

Guava support (#7) has been added thanks to this new mechanism so it works and allows enough customisation for now.

@nmorel nmorel closed this as completed Dec 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant