Skip to content

Remove dataformat-auto-detection functionality #402

@cowtowncoder

Description

@cowtowncoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xIssues to be only tackled for Jackson 3.x, not 2.x

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions