We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
To annotate case classes having a single field, like
@Wrapper case class Something(underlying: Underlying)
whose JSON representation is the one of the field.
Would avoid to write boilerplate like
case class Something(underlying: String) object Something { implicit val decode = DecodeJson.of[Underlying].map(Something(_)) implicit val encode = EncodeJson.of[Underlying].contramap[Something](_.underlying) }
for simply
The text was updated successfully, but these errors were encountered:
Maybe as a macro?
Sorry, something went wrong.
No branches or pull requests
To annotate case classes having a single field, like
whose JSON representation is the one of the field.
Would avoid to write boilerplate like
for simply
The text was updated successfully, but these errors were encountered: