KeyReads

object KeyReads extends EnvKeyReads
Companion:
class
class Object
trait Matchable
class Any

Type members

Inherited classlikes

object LanguageTagReads extends KeyReads[Locale]

Reads an object key as a locale, considering the key to be a language tag.

Reads an object key as a locale, considering the key to be a language tag.

Inherited from:
EnvKeyReads

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.

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]
Inherited from:
LowPriorityKeyReads