Optional

oxygen.http.core.ParamCodec.Json.Optional
final case class Optional[A](codec: JsonCodec[A]) extends Json[Option[A]]

Attributes

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

Members list

Value members

Concrete methods

override def decode(params: List[String]): Either[Cause, Option[A]]

Attributes

Definition Classes
override def encode(value: Option[A]): List[String]

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product