You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Describe the bug
Hi, I'm using JavaTimeModule() in my app with SerializationFeature.WRITE_DATES_WITH_ZONE_ID enabled and there's a strange thing:
When JsonFormat-annotation with pattern is added:
Current object is always serialized as an ISO_ZONED_DATE_TIME, e.g. "2024-11-15T18:27:06.921054+01:00[Europe/Germany]", the pattern is not taken into account.
Could you give a hint if this is expected behaviour, thanks you!
Version Information
2.18.1
Expected behavior
{"time":"2024-12-02 16:30:00 CET"}
The text was updated successfully, but these errors were encountered:
can you also try to reproduce the issue using pure Java? If the issue is a Kotlin only issue, it should be reported to the jackson-module-kotlin project.
Search before asking
Describe the bug
Hi, I'm using JavaTimeModule() in my app with SerializationFeature.WRITE_DATES_WITH_ZONE_ID enabled and there's a strange thing:
When JsonFormat-annotation with pattern is added:
Current object is always serialized as an ISO_ZONED_DATE_TIME, e.g. "2024-11-15T18:27:06.921054+01:00[Europe/Germany]", the pattern is not taken into account.
Could you give a hint if this is expected behaviour, thanks you!
Version Information
2.18.1
Expected behavior
{"time":"2024-12-02 16:30:00 CET"}
The text was updated successfully, but these errors were encountered: