Skip to content

ISO8601DateFormat is deprecated but replacement is unclear. #1786

@huxi

Description

@huxi

com.fasterxml.jackson.databind.util.ISO8601DateFormat is deprecated since 2.9 but I couldn't find any information about how to replace its current usage while upgrading.

So far, I checked the following locations:

But no luck...

I suspect that I could probably just delete objectMapper.setDateFormat(new ISO8601DateFormat()); and be fine but I wanted to double-check.

So this is a bug report against the documentation, not the code. If it can be safely removed and dates are still serialized as ISO-8601 strings then this should be mentioned somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions