play
.
api
.
libs
.
json
JsSuccess
Related Doc:
package json
case class
JsSuccess
[
T
]
(
value:
T
,
path:
JsPath
=
JsPath()
)
extends
JsResult
[
T
] with
Product
with
Serializable
Source
JsResult.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
JsResult
[
T
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
JsSuccess
Serializable
Serializable
Product
Equals
JsResult
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
JsSuccess
(
value:
T
,
path:
JsPath
=
JsPath()
)
Type Members
final
class
WithFilter
extends
AnyRef
Definition Classes
JsResult
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
])],
T
]
Definition Classes
JsResult
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asOpt
:
Option
[
T
]
Definition Classes
JsResult
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect
[
B
]
(
otherwise:
ValidationError
)
(
p:
PartialFunction
[
T
,
B
]
)
:
JsResult
[
B
]
Definition Classes
JsResult
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
(
otherwise:
JsError
)
(
p: (
T
) ⇒
Boolean
)
:
JsResult
[
T
]
Definition Classes
JsResult
def
filter
(
p: (
T
) ⇒
Boolean
)
:
JsResult
[
T
]
Definition Classes
JsResult
def
filterNot
(
p: (
T
) ⇒
Boolean
)
:
JsResult
[
T
]
Definition Classes
JsResult
def
filterNot
(
error:
JsError
)
(
p: (
T
) ⇒
Boolean
)
:
JsResult
[
T
]
Definition Classes
JsResult
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
X
]
(
f: (
T
) ⇒
JsResult
[
X
]
)
:
JsResult
[
X
]
Definition Classes
JsResult
def
fold
[
X
]
(
invalid: (
Seq
[(
JsPath
,
Seq
[
ValidationError
])]) ⇒
X
,
valid: (
T
) ⇒
X
)
:
X
Definition Classes
JsResult
def
foreach
(
f: (
T
) ⇒
Unit
)
:
Unit
Definition Classes
JsResult
def
get
:
T
Definition Classes
JsSuccess
→
JsResult
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOrElse
[
AA >:
T
]
(
t: ⇒
AA
)
:
AA
Definition Classes
JsResult
def
isError
:
Boolean
Definition Classes
JsResult
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isSuccess
:
Boolean
Definition Classes
JsResult
def
map
[
X
]
(
f: (
T
) ⇒
X
)
:
JsResult
[
X
]
Definition Classes
JsResult
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 >:
T
]
(
t: ⇒
JsResult
[
AA
]
)
:
JsResult
[
AA
]
Definition Classes
JsResult
val
path
:
JsPath
def
recover
[
AA >:
T
]
(
errManager:
PartialFunction
[
JsError
,
AA
]
)
:
JsResult
[
AA
]
Definition Classes
JsResult
def
recoverTotal
[
AA >:
T
]
(
errManager: (
JsError
) ⇒
AA
)
:
AA
Definition Classes
JsResult
def
repath
(
path:
JsPath
)
:
JsResult
[
T
]
Definition Classes
JsResult
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
value
:
T
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: (
T
) ⇒
Boolean
)
:
WithFilter
Definition Classes
JsResult
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
JsResult
[
T
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped