Is there a way to generate only a reads and not a format for a case class?
implicit val barReads: Reads[Bar] = ???
case class Foo(bar: Bar)
implicit val format = Jsonx.formatCaseClass[Foo] // doesn't compile as Write[Bar] is not available
// ideally I would like to have something like
implicit val read = Jsonx.readCaseClass[Foo]
Is there a way to generate only a
reads
and not aformat
for a case class?