play
.
api
.
libs
.
json
.
DefaultReads
StringReads
Related Doc:
package DefaultReads
implicit
object
StringReads
extends
Reads
[
String
]
Deserializer for String types.
Source
Reads.scala
Linear Supertypes
Reads
[
String
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
StringReads
Reads
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
andThen
[
B
]
(
rb:
Reads
[
B
]
)
(
implicit
witness:
<:<
[
String
,
JsValue
]
)
:
Reads
[
B
]
Definition Classes
Reads
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect
[
B
]
(
error:
ValidationError
)
(
f:
PartialFunction
[
String
,
B
]
)
:
Reads
[
B
]
Definition Classes
Reads
def
compose
[
B <:
JsValue
]
(
rb:
Reads
[
B
]
)
:
Reads
[
String
]
Definition Classes
Reads
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
filter
(
error:
ValidationError
)
(
f: (
String
) ⇒
Boolean
)
:
Reads
[
String
]
Definition Classes
Reads
def
filter
(
f: (
String
) ⇒
Boolean
)
:
Reads
[
String
]
Definition Classes
Reads
def
filterNot
(
error:
ValidationError
)
(
f: (
String
) ⇒
Boolean
)
:
Reads
[
String
]
Definition Classes
Reads
def
filterNot
(
f: (
String
) ⇒
Boolean
)
:
Reads
[
String
]
Definition Classes
Reads
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
B
]
(
f: (
String
) ⇒
Reads
[
B
]
)
:
Reads
[
B
]
Definition Classes
Reads
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
map
[
B
]
(
f: (
String
) ⇒
B
)
:
Reads
[
B
]
Definition Classes
Reads
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
orElse
(
v:
Reads
[
String
]
)
:
Reads
[
String
]
Definition Classes
Reads
def
reads
(
json:
JsValue
)
:
JsResult
[
String
]
Convert the JsValue into a A
Convert the JsValue into a A
Definition Classes
StringReads
→
Reads
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Reads
[
String
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Deserializer for String types.