I am trying to parse a json with
optional Either property, not
either but both.
I have tried to do it in Haskell and it works. Can it be supported in Play Json or other json library in Scala?
the most interesting property is the
This is the boiler plate in scala to begin with if someone find it helpful