Format

play.api.libs.json.Format$
See theFormat companion trait

Default Json formatters.

Attributes

Companion
trait
Graph
Supertypes
trait PathFormat
class Object
trait Matchable
class Any
Show all
Self type
Format.type

Members list

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]

Attributes

Inherited from:
PathFormat
def nullable[A](path: JsPath)(implicit f: Format[A]): OFormat[Option[A]]

Attributes

Inherited from:
PathFormat
def nullableWithDefault[A](path: JsPath, defaultValue: => Option[A])(implicit f: Format[A]): OFormat[Option[A]]

Attributes

Inherited from:
PathFormat
def of[A](implicit fmt: Format[A]): Format[A]

Attributes

Inherited from:
ConstraintFormat
def optionWithNull[A](implicit fmt: Format[A]): Format[Option[A]]

Attributes

Inherited from:
ConstraintFormat
def withDefault[A](path: JsPath, defaultValue: => A)(implicit f: Format[A]): OFormat[A]

Attributes

Inherited from:
PathFormat

Concrete fields

Implicits

Implicits

implicit val invariantFunctorFormat: InvariantFunctor[Format]

Inherited implicits

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

Attributes

Inherited from:
DefaultFormat