circe-derivation 0.13.0-M4
Pre-release
Pre-release
·
166 commits
to master
since this release
This release introduces deriveX overloads that allow you to specify only a name transformer if you want to use the defaults for using default values or a discriminator field (which are yes and no respectively). For example, instead of this:
implicit val codecForFoo: Codec.AsObject[Foo] = deriveCodec(renaming.snakeCase, true, None)You can now write this:
implicit val codecForFoo: Codec.AsObject[Foo] = deriveCodec(renaming.snakeCase)