Return an instance for a given type.
Construct an instance from a function.
Construct an instance from a function that will reattempt on failure.
Instance creation methods for disjunction-like types. Note that these instances are implicit, since they require non-obvious decisions about the names of the discriminators. If you want instances for these types you can include the following import in your program:
import io.circe.disjunctionCodecs._
Utilities and instances for Decoder.