Json

oxygen.http.core.BodyCodec.Json
See theJson companion trait
object Json

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Json.type

Members list

Type members

Classlikes

final case class Required[A](codec: JsonCodec[A]) extends Json[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[A]
trait Text[A]
trait BodyCodec[A]
class Object
trait Matchable
class Any
Show all
final case class Transform[A, B](a: Json[A], ab: A => B, ba: B => A) extends Json[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[B]
trait Text[B]
trait BodyCodec[B]
class Object
trait Matchable
class Any
Show all
final case class TransformOrFail[A, B](a: Json[A], ab: A => Either[String, B], ba: B => A) extends Json[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[B]
trait Text[B]
trait BodyCodec[B]
class Object
trait Matchable
class Any
Show all

Givens

Givens

given typed[A](using codec: JsonCodec[A]): Json[A]