Deserializer for java.
Deserializer for Array[T] types.
Deserializer for Array[T] types.
Deserializer for Boolean types.
Deserializer for Byte types.
Deserializer for Double types.
Deserializer for Float types.
Deserializer for Int types.
Deserializer for JsArray.
Deserializer for JsBoolean.
builds a JsErrorObj JsObject { VAL : "current known erroneous jsvalue", ERR : "the i18n key of the error msg", ARGS : "the args for the error msg" (JsArray) }
builds a JsErrorObj JsObject { VAL : "current known erroneous jsvalue", ERR : "the i18n key of the error msg", ARGS : "the args for the error msg" (JsArray) }
Deserializer for JsNumber.
Deserializer for JsObject.
Deserializer for JsString.
Deserializer for JsValue.
Deserializer for Long types.
Deserializer for Short types.
Deserializer for String types.
Deserializer for BigDecimal
Deserializer for BigDecimal
Deserializer for a Map[Char, V]
Deserializer for a Map[Char, V]
Reads for scala.Enumeration
types using the name.
Reads for scala.Enumeration
types using the name.
a scala.Enumeration
.
Deserializer for BigDecimal
Deserializer for BigDecimal
Deserializer for a Map[String,V]
Deserializer for a Map[String,V]
Deserializer for a Map[K,V]
Deserializer for a Map[K,V]
Defines a maximum value for a Reads.
Defines a maximum value for a Reads. Combine with min
using andKeep
, e.g.
.read(Reads.min(0.1) andKeep Reads.max(1.0))
.
Defines a minimum value for a Reads.
Defines a minimum value for a Reads. Combine with max
using andKeep
, e.g.
.read(Reads.min(0) andKeep Reads.max(100))
.
Reads a Option[T] search optional or nullable field at JsPath (field not found or null is None and other cases are Error).
Reads a Option[T] search optional or nullable field at JsPath (field not found or null is None and other cases are Error).
It runs through JsValue following all JsPath nodes on JsValue except last node: - If one node in JsPath is not found before last node => returns JsError( "missing-path" ) - If all nodes are found till last node, it runs through JsValue with last node =>
Reads a Option[T] search nullable field at JsPath (null is None and other cases are Error).
Reads a Option[T] search nullable field at JsPath (null is None and other cases are Error).
It runs through JsValue following all JsPath nodes on JsValue except last node: - If one node in JsPath is not found before last node => returns JsError( "missing-path" ) - If all nodes are found till last node, it runs through JsValue with last node =>
The simpler of all Reads that just finds an implicit Reads[A] of the expected type
The simpler of all Reads that just finds an implicit Reads[A] of the expected type
Stupidly reads a field as an Option mapping any error (format or missing field) to None
Stupidly reads a field as an Option mapping any error (format or missing field) to None
very simple optional field Reads that maps "null" to None
very simple optional field Reads that maps "null" to None
Defines a regular expression constraint for String
values, i.
Defines a regular expression constraint for String
values, i.e. the string must match the regular expression pattern
Returns a JsSuccess(a)
(with root path) for any JSON value read.
Generic deserializer for collections types.
Generic deserializer for collections types.
Default deserializer type classes.