NOTE: the latest version is 3.6.3
Provides a JSON Decoder for the Either type.
JSON
Decoder
Either
Decode an Either from a JSON Value.
Value
decodeString (either string int) "4" == Ok (Right 4)
Decode an
Eitherfrom aJSON
Value.