play.api.data.mapping

Path

Related Docs: object Path | package mapping

class Path extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Path
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Path(path: List[PathNode])

Type Members

  1. class Deferred[I] extends AnyRef

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++(other: Path): Path

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def \(child: PathNode): Path

  6. def \(idx: Int): Path

  7. def \(key: String): Path

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(o: Any): Boolean

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compose(p: Path): Path

    Aggregate 2 paths

    Aggregate 2 paths

    (Path \ "foo" \ "bar").compose(Path \ "baz") == (Path \ "foo" \ "bar" \ "baz")
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(o: Any): Boolean

    Definition Classes
    Path → AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def from[I]: Deferred[I]

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

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    Path → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. val path: List[PathNode]

  23. def read[I, O](implicit r: (Path) ⇒ RuleLike[I, O]): Rule[I, O]

  24. def read[I, J, O](sub: ⇒ RuleLike[J, O])(implicit r: (Path) ⇒ RuleLike[I, J]): Rule[I, O]

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    Path → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def write[O, J, I](format: ⇒ WriteLike[O, J])(implicit w: (Path) ⇒ WriteLike[J, I]): Write[O, I]

    Creates a Writes the serialize data to the desired output type using a provided format.

    Creates a Writes the serialize data to the desired output type using a provided format. *

    val w = (Path \ "date").write(date("yyyy-MM-dd""))
    w.writes(new Date()) == Json.obj("date" -> "2013-10-3")
  31. def write[O, I](implicit w: (Path) ⇒ WriteLike[O, I]): Write[O, I]

    Creates a Writes the serialize data to the desired output type

    Creates a Writes the serialize data to the desired output type

    val contact = Contact("Julien", "Tournay")
    implicit def contactWrite = (Path \ "firstname").write[String, UrlFormEncoded]
    contactWrite.writes(contact) mustEqual Map("firstname" -> "Julien")

Inherited from AnyRef

Inherited from Any

Ungrouped