Skip to content

Enums now return DecodeFailures

Choose a tag to compare

@aishfenton aishfenton released this 12 Oct 06:06
· 41 commits to master since this release

Enums now return DecodeFailure rather than throwing Exceptions. This makes it easier to chain them (i.e. json.as[MyEnum] orElse json.as[String])