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
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsSuccess
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsResult
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsSuccess(value: T, path: JsPath = JsPath())

Type Members

  1. final class WithFilter extends AnyRef

    Definition Classes
    JsResult

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def asEither: Product with Serializable with Either[Seq[(JsPath, Seq[ValidationError])], T]

    Definition Classes
    JsResult
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def asOpt: Option[T]

    Definition Classes
    JsResult
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collect[B](otherwise: ValidationError)(p: PartialFunction[T, B]): JsResult[B]

    Definition Classes
    JsResult
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def filter(otherwise: JsError)(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
  11. def filter(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
  12. def filterNot(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
  13. def filterNot(error: JsError)(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap[X](f: (T) ⇒ JsResult[X]): JsResult[X]

    Definition Classes
    JsResult
  16. def fold[X](invalid: (Seq[(JsPath, Seq[ValidationError])]) ⇒ X, valid: (T) ⇒ X): X

    Definition Classes
    JsResult
  17. def foreach(f: (T) ⇒ Unit): Unit

    Definition Classes
    JsResult
  18. def get: T

    Definition Classes
    JsSuccessJsResult
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getOrElse[AA >: T](t: ⇒ AA): AA

    Definition Classes
    JsResult
  21. def isError: Boolean

    Definition Classes
    JsResult
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isSuccess: Boolean

    Definition Classes
    JsResult
  24. def map[X](f: (T) ⇒ X): JsResult[X]

    Definition Classes
    JsResult
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def orElse[AA >: T](t: ⇒ JsResult[AA]): JsResult[AA]

    Definition Classes
    JsResult
  29. val path: JsPath

  30. def recover[AA >: T](errManager: PartialFunction[JsError, AA]): JsResult[AA]

    Definition Classes
    JsResult
  31. def recoverTotal[AA >: T](errManager: (JsError) ⇒ AA): AA

    Definition Classes
    JsResult
  32. def repath(path: JsPath): JsResult[T]

    Definition Classes
    JsResult
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. val value: T

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withFilter(p: (T) ⇒ Boolean): WithFilter

    Definition Classes
    JsResult

Deprecated Value Members

  1. def filter(otherwise: ValidationError)(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) Use filter(JsError)(A => Boolean) instead.

  2. def filterNot(error: ValidationError)(p: (T) ⇒ Boolean): JsResult[T]

    Definition Classes
    JsResult
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) Use filterNot(JsError)(A => Boolean) instead.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsResult[T]

Inherited from AnyRef

Inherited from Any

Ungrouped