Typeclass to implement way of parsing string as Java8 temporal types.
Deserializer for Array[T] types.
Deserializer for Boolean types.
Deserializer for Byte types.
the default implicit java.util.Date reads
the default implicit JodaDate reads
the default implicit joda.time.LocalDate reads
Deserializer for Double types.
Deserializer for Float types.
Deserializer for Int types.
ISO 8601 Reads
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 JsObject.
Deserializer for JsValue.
Deserializer for Long types.
Deserializer for Short types.
Deserializer for String types.
Deserializer for BigDecimal
Reads for the java.util.Date
type.
Reads for the java.util.Date
type.
a date pattern, as specified in java.text.SimpleDateFormat
.
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
Reads for scala.Enumeration
types using the name.
Reads for scala.Enumeration
types using the name.
a scala.Enumeration
.
Deserializer for BigDecimal
Reads for the org.joda.time.DateTime
type.
Reads for the org.joda.time.DateTime
type.
a date pattern, as specified in java.text.SimpleDateFormat
.
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
Reads for the org.joda.time.LocalDate
type.
Reads for the org.joda.time.LocalDate
type.
a date pattern, as specified in org.joda.time.format.DateTimeFormat
.
string transformation function (See jodaDateReads)
Reads for the java.time.LocalDateTime
type.
Reads for the java.time.LocalDateTime
type.
When input value doesn't specify the time zone,
then java.time.ZoneId.systemDefault
is used.
Type of argument to instantiate date/time parser
Argument to instantiate date/time parser. Actually either a pattern (string) or a formatter (java.time.format.DateTimeFormatter
)
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks. Function identity
can be passed if no correction is needed.
Typeclass instance based on parsing
TemporalFormatter
import play.api.libs.json.Java8Reads.localDateTimeReads val customReads1 = localDateTimeReads("dd/MM/yyyy, HH:mm:ss") val customReads2 = localDateTimeReads(DateTimeFormatter.ISO_DATE_TIME) val customReads3 = localDateTimeReads( DateTimeFormatter.ISO_DATE_TIME, _.drop(1))
Deserializer for Map[String,V] types.
Generic deserializer for collections types.
Generic deserializer for collections types.
Deserializer for java.util.UUID
Default deserializer type classes.