Skip to content

Make java.sql.Date serializer default to same output as java.util.Date #2405

Closed
@cowtowncoder

Description

@cowtowncoder

(note: follow-up to #2403 )

Currently (in 2.x) java.sql.Date is serialized as String using value.toString(), which uses local timezone. This is different from other date/time types, but due to backwards compatibility issues, change can only be done in 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