Skip to content

Jackson-2.5 is not backwards compatible with Jackson-2.4 #178

@ansell

Description

@ansell

The fix for issue #166 resulted in non-backwards compatible code.

Specifically the following line compiles in Jackson-2.4 but fails in 2.5:

Lf2SpacesIndenter indenter = Lf2SpacesIndenter.instance.withLinefeed("\n")

Is it possible to reinstate that method signature (ie, don't just inherit it from DefaultIndenter) to provide backwards compatibility between 2.5 and 2.4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions