TransformOrFailProduct
oxygen.schema.JsonSchema.TransformOrFailProduct
final case class TransformOrFailProduct[A, B] extends ProductLike[B]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ProductLike[B]trait JsonSchema[B]trait SchemaLike[B]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
object unsafe
There are times when you only care about encoding or decoding, and not the other. This makes that possible. If you try to do the thing you explicitly decided not to implement, you will get a runtime exception.
There are times when you only care about encoding or decoding, and not the other. This makes that possible. If you try to do the thing you explicitly decided not to implement, you will get a runtime exception.
Attributes
- Inherited from:
- SchemaLike
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- ProductLike
Value members
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- JsonSchema
Attributes
- Definition Classes
- Inherited from:
- JsonSchema
Attributes
- Inherited from:
- JsonSchema
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
final override def transform[B](ab: B => B, ba: B => B)(using newTypeTag: TypeTag[B]): ProductLike[B]
Attributes
- Definition Classes
- Inherited from:
- ProductLike
Attributes
- Inherited from:
- SchemaLike
Attributes
- Inherited from:
- SchemaLike
Attributes
- Inherited from:
- SchemaLike
final def transformOptionObscure[B](ab: B => Option[B], ba: B => B)(using newTypeTag: TypeTag[B]): S[B]
Attributes
- Inherited from:
- SchemaLike
final override def transformOrFail[B](ab: B => Either[String, B], ba: B => B)(using newTypeTag: TypeTag[B]): ProductLike[B]
Attributes
- Definition Classes
- Inherited from:
- ProductLike
Concrete fields
In this article