trait
Format[A] extends Writes[A] with Reads[A]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
andThen[B](rb: Reads[B])(implicit witness: <:<[A, JsValue]): Reads[B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collect[B](error: ValidationError)(f: PartialFunction[A, B]): Reads[B]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(error: ValidationError)(f: (A) ⇒ Boolean): Reads[A]
-
def
filter(f: (A) ⇒ Boolean): Reads[A]
-
def
filterNot(error: ValidationError)(f: (A) ⇒ Boolean): Reads[A]
-
def
filterNot(f: (A) ⇒ Boolean): Reads[A]
-
def
finalize(): Unit
-
def
flatMap[B](f: (A) ⇒ Reads[B]): Reads[B]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (A) ⇒ B): Reads[B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
orElse(v: Reads[A]): Reads[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Json formatter: write an implicit to define both a serializer and a deserializer for any type.