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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it make sense to
sealed abstract class CodecJson[A] ... { override def mapJson(f: Json => Json): CodecJson[A] = CodecJson.derived( Encoder.mapJson(f), Decoder ) }
?
The text was updated successfully, but these errors were encountered:
Surely it would need an inverse for the decoder?
Sorry, something went wrong.
Right. As there's no contramapJson for Decoder would it be correct to add
contramapJson
Decoder
trait Decoder[A] { def contramapJson(f: Json => Json): Decoder[A] // not sure about this signature } abstract class CodecJson[A] { def xmapJson(f: Json => Json): CodecJson[A] }
No branches or pull requests
Does it make sense to
?
The text was updated successfully, but these errors were encountered: