Path

final case class Path(entries: List[String]) extends AnyVal

Path is a convenience wrapper to represent paths for lookups or changes in Json

Companion:
object
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def \(entry: String): Path

Convenience DSL to build paths

Convenience DSL to build paths

def \\(that: Path): Path
def apply(): String

Retrieves the head path element

Retrieves the head path element

def isEmpty: Boolean
def next(): Path

Returns a new Path with the tail of this path

Returns a new Path with the tail of this path

def nonEmpty: Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

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