A subtype of Encoder
that statically verifies that the instance encodes
either a JSON array or an object.
- Companion:
- object
- Source:
- Encoder.scala
Value members
Inherited methods
Create a new Encoder by applying a function to a value of type B
before encoding as an
A
.
Create a new Encoder by applying a function to a value of type B
before encoding as an
A
.
- Inherited from:
- Encoder
- Source:
- Encoder.scala