Transform
oxygen.schema.JsonSchema.Transform
final case class Transform[A, B] extends NonProductLike[B]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait NonProductLike[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:
- NonProductLike
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]): JsonSchema[B]
Attributes
- Definition Classes
- Inherited from:
- NonProductLike
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]): JsonSchema[B]
Attributes
- Definition Classes
- Inherited from:
- NonProductLike
In this article