Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Json4sCodec deserializer expects an object to deserialize joda DateTime from #14

Description

@divijan

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions