This repository has been archived by the owner on Nov 28, 2017. It is now read-only.
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.
Json4sCodec deserializer expects an object to deserialize joda DateTime from #14
Open
Description
Standalone DateTime value is serialized to string using a custom producer and deserialized back using a custom consumer just fine. However, when DateTime value is part of a case class, it is serialized to string, but fails to deserialize (causing the whole case class deserialization to fail) with a message:
MappingException: : Expected an object field for timestamp but found a JString (json4s_input.scala:44)
where timestamp is the name of the DateTime field.
Metadata
Assignees
Labels
No labels