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

Add support in ObjectMapper for custom ObjectReader, ObjectWriter (sub-classes) #571

Closed
cowtowncoder opened this issue Oct 3, 2014 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

Currently ObjectReader and ObjectWriter are dataformat-agnostic, unlike ObjectMapper. That is, they are not designed for sub-classing. But since mapper itself is commonly sub-classed; mostly for convenience, but also to allow for dataformat-specific configurability, it'd make sense to allow some of that for readers and writers as well. Specific piece of functionality this would open is ability to re-configure data-format features on per-call basis.

But to get there, reader and writer objects need to add support for sub-classing; copy-constructor at least; and ObjectMapper also needs overridable methods to produce proper sub-classes as needed.

@cowtowncoder cowtowncoder added this to the 2.5.0 milestone Oct 16, 2014
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

No branches or pull requests

1 participant