Create a new Reads which maps the value produced by this Reads.
Create a new Reads which maps the value produced by this Reads.
The type of the value produced by the new Reads.
the function applied on the result of the current instance, if successful
Creates a new Reads, based on this one, which first executes this
Reads' logic then, if this Reads resulted in a JsError, runs
the second Reads on the JsValue.
Creates a new Reads, based on this one, which first executes this
Reads' logic then, if this Reads resulted in a JsError, runs
the second Reads on the JsValue.
The Reads to run if this one gets a JsError.
A new Reads with the updated behavior.
A
Readsobject describes how to decode JSON into a value.Readsobjects are typically provided as implicit values. WhenReadsimplicit values are in scope, a program is able to deserialize JSON into values of the right type.The inverse of a
Readsobject is a Writes object, which describes how to encode a value into JSON. If you combine aReadsand aWritesthen you get a Format.