final case class Path(entries: List[String]) extends AnyVal with Product with Serializable
Path is a convenience wrapper to represent paths for lookups or changes in Json
- Source
- Path.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Path
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Path(entries: List[String])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
\(entry: String): Path
Convenience DSL to build paths
- def \\(that: Path): Path
-
def
apply(): String
Retrieves the head path element
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val entries: List[String]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
next(): Path
Returns a new Path with the tail of this path
- def nonEmpty: Boolean
-
def
toString(): String
- Definition Classes
- Path → Any