KeyReads

play.api.libs.json.KeyReads
See theKeyReads companion trait
object KeyReads extends EnvKeyReads

Attributes

Companion
trait
Graph
Supertypes
trait EnvKeyReads
class Object
trait Matchable
class Any
Self type
KeyReads.type

Members list

Value members

Concrete methods

def apply[T](f: String => JsResult[T]): KeyReads[T]

Returns an instance which uses f as KeyReads.readKey function.

Returns an instance which uses f as KeyReads.readKey function.

Attributes

Implicits

Implicits

implicit val booleanKeyReads: KeyReads[Boolean]
implicit val byteKeyReads: KeyReads[Byte]
implicit val charKeyReads: KeyReads[Char]
implicit val doubleKeyReads: KeyReads[Double]
implicit val floatKeyReads: KeyReads[Float]
implicit val intKeyReads: KeyReads[Int]
implicit val longKeyReads: KeyReads[Long]
implicit val shortKeyReads: KeyReads[Short]

Inherited implicits

implicit def readableKeyReads[T](implicit r: Reads[T]): KeyReads[T]

Attributes

Inherited from:
LowPriorityKeyReads (hidden)