JsonFormat

@implicitNotFound("No Json formatter found for type ${T}. Try to implement an implicit JsonFormat for this type.") trait JsonFormat[T] extends Writer[T] with Reader[T]
Companion
object
trait Reader[T]
trait Writer[T]
class Object
trait Matchable
class Any

Value members

Inherited methods

def contramap[A](f: A => T): Writer[A]
Inherited from
Writer
def map[A](f: T => A): Reader[A]
Inherited from
Reader
def readEither(value: JValue): Either[MappingException, T]
Inherited from
Reader
def write(obj: T): JValue
Inherited from
Writer