use ISO-8601 date/time format in Jackson serializer, #24155
* better for interoperability * deserialization from both formats are supported
This commit is contained in:
parent
cca13bdb32
commit
41600d3079
5 changed files with 138 additions and 19 deletions
|
|
@ -104,5 +104,12 @@ object SerializationDocSpec {
|
|||
final case class Elephant(name: String, age: Int) extends Animal
|
||||
//#polymorphism
|
||||
|
||||
val configDateTime = """
|
||||
#//#date-time
|
||||
akka.serialization.jackson.serialization-features {
|
||||
WRITE_DATES_AS_TIMESTAMPS = on
|
||||
}
|
||||
#//#date-time
|
||||
"""
|
||||
}
|
||||
// FIXME add real tests for the migrations, see EventMigrationTest.java in Lagom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue