EnhancedRW

fabric.rw.EnhancedRW
case class EnhancedRW[T](rw: RW[T], preWrite: List[Json => Json], postRead: List[(T, Json) => Json]) extends RW[T]

Attributes

Source
EnhancedRW.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RW[T]
trait Writer[T]
trait Reader[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def definition: DefType

Attributes

Definition Classes
RW
Source
EnhancedRW.scala
override def read(t: T): Json

Attributes

Definition Classes
Source
EnhancedRW.scala
override def withPostRead(f: (T, Json) => Json): RW[T]

Attributes

Definition Classes
RW
Source
EnhancedRW.scala
override def withPreWrite(f: Json => Json): RW[T]

Attributes

Definition Classes
RW
Source
EnhancedRW.scala
override def write(value: Json): T

Attributes

Definition Classes
Source
EnhancedRW.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product