UniquePath

case class UniquePath[T](path: List[String]) extends Term[T] with Path

Reifies a traversal from a Cursor to a single, possibly nullable, value.

Reifies a traversal from a Cursor to a single, possibly nullable, value.

Typically such a path would use used to identify a field of the object or interface at the focus of the cursor, to be tested via a predicate such as Eql.

trait Path
trait Term[T]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(c: Cursor): Result[T]
def prepend(prefix: List[String]): Path

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product