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
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsResult
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class WithFilter extends AnyRef

Abstract Value Members

  1. abstract def get: A

Concrete 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])], A]

  5. final def asInstanceOf[T0]: T0

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

  7. def clone(): AnyRef

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

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def filter(otherwise: JsError)(p: (A) ⇒ Boolean): JsResult[A]

  12. def filter(p: (A) ⇒ Boolean): JsResult[A]

  13. def filterNot(p: (A) ⇒ Boolean): JsResult[A]

  14. def filterNot(error: JsError)(p: (A) ⇒ Boolean): JsResult[A]

  15. def finalize(): Unit

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

  17. def fold[X](invalid: (Seq[(JsPath, Seq[ValidationError])]) ⇒ X, valid: (A) ⇒ X): X

  18. def foreach(f: (A) ⇒ Unit): Unit

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

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

  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def isError: Boolean

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isSuccess: Boolean

  25. def map[X](f: (A) ⇒ X): JsResult[X]

  26. final def ne(arg0: AnyRef): Boolean

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

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

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

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

  31. def recoverTotal[AA >: A](errManager: (JsError) ⇒ AA): AA

  32. def repath(path: JsPath): JsResult[A]

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

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  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: (A) ⇒ Boolean): WithFilter

Deprecated Value Members

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

    Annotations
    @deprecated
    Deprecated

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

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

    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped