Closed chisui closed 4 years ago
Thanks for reporting this @chisui ! The fix is in progress https://github.com/vavr-io/vavr-jackson/pull/166. Meanwhile, I suggest not using the deprecated classes Option.{Some,None}
, they are meant to be internal classes.
In the latest non alpha release 0.10.3
Option.Some
and Option.None
are not deprecated.
Ah, yes, you're right. Thanks for pointing out 👍 You make me think that we should back-port the solution to 0.10.x as well. This is done now as 07616da9f2bbb3c7eb00168a32c582a304f80e65.
If a json property has the the
Option.Some
orOption.None
it can not be deserialized:Either.Left
andEither.Right
work fine though.