play
.
api
.
libs
.
json
JsResult
Related Docs:
object JsResult
|
package json
sealed
trait
JsResult
[
+A
]
extends
AnyRef
Self Type
JsResult
[
A
]
Source
JsResult.scala
Linear Supertypes
AnyRef
,
Any
Known Subclasses
JsError
,
JsSuccess
Ordering
Alphabetic
By inheritance
Inherited
JsResult
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
final
class
WithFilter
extends
AnyRef
Abstract Value Members
abstract
def
get
:
A
Concrete 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
asEither
:
Product
with
Serializable
with
Either
[
Seq
[(
JsPath
,
Seq
[
ValidationError
])],
A
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asOpt
:
Option
[
A
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect
[
B
]
(
otherwise:
ValidationError
)
(
p:
PartialFunction
[
A
,
B
]
)
:
JsResult
[
B
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
filter
(
otherwise:
JsError
)
(
p: (
A
) ⇒
Boolean
)
:
JsResult
[
A
]
def
filter
(
p: (
A
) ⇒
Boolean
)
:
JsResult
[
A
]
def
filterNot
(
p: (
A
) ⇒
Boolean
)
:
JsResult
[
A
]
def
filterNot
(
error:
JsError
)
(
p: (
A
) ⇒
Boolean
)
:
JsResult
[
A
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
X
]
(
f: (
A
) ⇒
JsResult
[
X
]
)
:
JsResult
[
X
]
def
fold
[
X
]
(
invalid: (
Seq
[(
JsPath
,
Seq
[
ValidationError
])]) ⇒
X
,
valid: (
A
) ⇒
X
)
:
X
def
foreach
(
f: (
A
) ⇒
Unit
)
:
Unit
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOrElse
[
AA >:
A
]
(
t: ⇒
AA
)
:
AA
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
isError
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isSuccess
:
Boolean
def
map
[
X
]
(
f: (
A
) ⇒
X
)
:
JsResult
[
X
]
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
[
AA >:
A
]
(
t: ⇒
JsResult
[
AA
]
)
:
JsResult
[
AA
]
def
recover
[
AA >:
A
]
(
errManager:
PartialFunction
[
JsError
,
AA
]
)
:
JsResult
[
AA
]
def
recoverTotal
[
AA >:
A
]
(
errManager: (
JsError
) ⇒
AA
)
:
AA
def
repath
(
path:
JsPath
)
:
JsResult
[
A
]
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
(
...
)
def
withFilter
(
p: (
A
) ⇒
Boolean
)
:
WithFilter
Inherited from
AnyRef
Inherited from
Any
Ungrouped