Skip to content

Use DateOnlySerializer when appropriate#1223

Merged
jmini merged 1 commit intogitlab4j:mainfrom
jmini:patch-33
Dec 30, 2024
Merged

Use DateOnlySerializer when appropriate#1223
jmini merged 1 commit intogitlab4j:mainfrom
jmini:patch-33

Conversation

@jmini
Copy link
Collaborator

@jmini jmini commented Dec 30, 2024

add following serializer:

@JsonSerialize(using = JacksonJson.DateOnlySerializer.class)

On the Date type that are day-only type.

Value is serialized as "2018-07-31" (as sent by the server) instead as "2018-07-31T00:00:00Z".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant