ConstraintReads
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Reads
Members list
Value members
Concrete methods
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 maximum value for a Reads. Combine with min
using andKeep
, e.g. .read(Reads.min(0.1) andKeep Reads.max(1.0))
.
Attributes
Defines a minimum value for a Reads. Combine with max
using andKeep
, e.g. .read(Reads.min(0) andKeep Reads.max(100))
.
Defines a minimum value for a Reads. Combine with max
using andKeep
, e.g. .read(Reads.min(0) andKeep Reads.max(100))
.
Attributes
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
Attributes
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
Attributes
very simple optional field Reads that maps "null" to None
very simple optional field Reads that maps "null" to None
Attributes
Defines a regular expression constraint for String
values, i.e. the string must match the regular expression pattern
Defines a regular expression constraint for String
values, i.e. the string must match the regular expression pattern