jackson: don't fail serializing empty beans (#31033)
Notably, case objects. It's not entirely clear to me why this started failing on Scala 3, `AccountExampleSpec` picks `JacksonCborSerializer` both for Scala 2 and Scala 3, but only on 3 seems to require this option.
This commit is contained in:
parent
b56d3a104b
commit
4640338e73
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ akka.serialization.jackson {
|
||||||
# but WRITE_DATES_AS_TIMESTAMPS=on has better performance.
|
# but WRITE_DATES_AS_TIMESTAMPS=on has better performance.
|
||||||
WRITE_DATES_AS_TIMESTAMPS = off
|
WRITE_DATES_AS_TIMESTAMPS = off
|
||||||
WRITE_DURATIONS_AS_TIMESTAMPS = off
|
WRITE_DURATIONS_AS_TIMESTAMPS = off
|
||||||
|
FAIL_ON_EMPTY_BEANS = off
|
||||||
}
|
}
|
||||||
|
|
||||||
# Configuration of the ObjectMapper deserialization features.
|
# Configuration of the ObjectMapper deserialization features.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue