Json

oxygen.http.core.ParamCodec.Json
See theJson companion trait
object Json extends JsonLowPriority1

Attributes

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

Members list

Type members

Classlikes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[List[A]]
trait ParamCodec[List[A]]
class Object
trait Matchable
class Any
Show all
final case class ManyNonEmpty[A](codec: JsonCodec[A]) extends Json[NonEmptyList[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[NonEmptyList[A]]
trait ParamCodec[NonEmptyList[A]]
class Object
trait Matchable
class Any
Show all
final case class Optional[A](codec: JsonCodec[A]) extends Json[Option[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[Option[A]]
trait ParamCodec[Option[A]]
class Object
trait Matchable
class Any
Show all
final case class Required[A](codec: JsonCodec[A]) extends Json[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Json[A]
trait ParamCodec[A]
class Object
trait Matchable
class Any
Show all

Givens

Givens

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

Inherited givens

given many[A](using codec: JsonCodec[A]): Json[List[A]]

Attributes

Inherited from:
JsonLowPriority1
given manyNonEmpty[A](using codec: JsonCodec[A]): Json[NonEmptyList[A]]

Attributes

Inherited from:
JsonLowPriority1
given optional[A](using codec: JsonCodec[A]): Json[Option[A]]

Attributes

Inherited from:
JsonLowPriority1