Deserialization of record component with @JsonbDateFormat(TIME_IN_MILLIS)
fails
#651
Labels
bug
Something isn't working right
@JsonbDateFormat(TIME_IN_MILLIS)
fails
#651
Describe the bug
Using this record as example:
and this JSON to deserialize:
The deserialization fails with the following exception:
To Reproduce
Run the following Junit5 test:
This test will fail with the exception mentioned above.
Expected behavior
The test passes successfully.
System information:
Additional context
Using the annotation on the record level works fine, but forces all datetime components in the record to be deserialized from epoch millis:
Also, the annotation works fine on POJOs:
The text was updated successfully, but these errors were encountered: