Format

Default Json formatters.

Companion:
class
class Object
trait Matchable
class Any
Format.type

Value members

Concrete methods

def apply[A](fjs: Reads[A], tjs: Writes[A]): Format[A]

Inherited methods

def at[A](path: JsPath)(implicit f: Format[A]): OFormat[A]
Inherited from:
PathFormat
def nullable[A](path: JsPath)(implicit f: Format[A]): OFormat[Option[A]]
Inherited from:
PathFormat
def nullableWithDefault[A](path: JsPath, defaultValue: => Option[A])(implicit f: Format[A]): OFormat[Option[A]]
Inherited from:
PathFormat
@inline
def of[A](implicit fmt: Format[A]): Format[A]
Inherited from:
ConstraintFormat
def optionWithNull[A](implicit fmt: Format[A]): Format[Option[A]]
Inherited from:
ConstraintFormat
def withDefault[A](path: JsPath, defaultValue: => A)(implicit f: Format[A]): OFormat[A]
Inherited from:
PathFormat

Implicits

Implicits

implicit val invariantFunctorFormat: InvariantFunctor[Format]

Inherited implicits

implicit def GenericFormat[T](implicit fjs: Reads[T], tjs: Writes[T]): Format[T]
Inherited from:
DefaultFormat