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

Remove dataformat-auto-detection functionality #402

Closed
cowtowncoder opened this issue Sep 14, 2017 · 0 comments
Closed

Remove dataformat-auto-detection functionality #402

cowtowncoder opened this issue Sep 14, 2017 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Milestone

Comments

@cowtowncoder
Copy link
Member

One of more ambitious features of Jackson 1.x and 2.x has been ability to auto-detect format for a given input stream. It worked nicely for first 2 formats (json, smile), and has been extended for couple more; but has been proven difficult to support for many other formats (due to arguably design flaws on many binary formats; lack of signature or magic cookie).

Although incomplete support across all formats is not itself a fatal flaw (feature could be just used between formats where it is useful), there is non-trivial cost for maintaining support and implementations. But perhaps most importantly, it also imposes some complexity in the way ObjectMappers / ObjectReaders are used; and unless removed, prevents #1 (or requires significant new development to find a work-around).

For this reason, this feature will be remove from Jackson 3.0.

@cowtowncoder cowtowncoder added this to the 3.0.0 milestone Sep 14, 2017
@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Sep 14, 2017
@cowtowncoder cowtowncoder changed the title Remove dataformat-auto-detection functionality from jackson-core Remove dataformat-auto-detection functionality Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

No branches or pull requests

1 participant