JsPath

final case class JsPath(positions: Vector[Position])

Represents the full path location of an element in a json. The easiest way of creating a JsPath is.

Value parameters:
positions

keys and/or indexes a path is made up of

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

Value members

Concrete methods

@inline
def /(index: Int): JsPath

Alias for appended

Alias for appended

@inline
def /(key: String): JsPath

Alias for appended

Alias for appended

@inline
def /(path: JsPath): JsPath
@inline
def \(index: Int): JsPath

Alias for prepended

Alias for prepended

@inline
def \(key: String): JsPath

Alias for prepended

Alias for prepended

@inline
def \(path: JsPath): JsPath
def appended(i: Int): JsPath
def appended(name: String): JsPath
def appended(path: JsPath): JsPath
def inc: JsPath
def isEmpty: Boolean
def length: Int
def prepended(i: Int): JsPath
def prepended(key: String): JsPath
def prepended(path: JsPath): JsPath
override def toString: String
Definition Classes
Any

Inherited methods

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