oxygen.schema.JsonSchema.ProductLike
See theProductLike companion object
sealed trait ProductLike[A] extends JsonSchema[A]
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
trait ProductSchema[A]trait SumSchema[A]
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
Types
Value members
Concrete methods
final override def transform[B](ab: A => B, ba: B => A)(using newTypeTag: TypeTag[B]): ProductLike[B]
Attributes
- Definition Classes
final override def transformOrFail[B](ab: A => Either[String, B], ba: B => A)(using newTypeTag: TypeTag[B]): ProductLike[B]
Attributes
- Definition Classes
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- JsonSchema
Attributes
- Definition Classes
- Inherited from:
- JsonSchema
Attributes
- Inherited from:
- JsonSchema
Attributes
- Inherited from:
- SchemaLike
Attributes
- Inherited from:
- SchemaLike
Attributes
- Inherited from:
- SchemaLike
final def transformOptionObscure[B](ab: A => Option[B], ba: B => A)(using newTypeTag: TypeTag[B]): S[B]
Attributes
- Inherited from:
- SchemaLike
Abstract fields
Inherited and Abstract fields
Attributes
- Inherited from:
- SchemaLike
In this article