score:0

You need to explicitly enumerate the type hints, e.g.

implicit def formats = DefaultFormats +
                       FullTypeHints(classOf[Either[Location, Address]] :: Nil)

score:0

You need to explicitly enumerate the type hints, e.g.

implicit def formats = DefaultFormats + FullTypeHints(classOf[Either[Location, Address]] :: Nil)

Do note however that you'll need fix 1417, https://github.com/lift/framework/commit/ba2c444076ee6f5dc788bcaab4853b1640b5fef1 since before this constructors are memoized without generic types and deserialization of other Eithers will fail


Related Query

More Query from same tag