final case class JsPath(positions: Vector[Position]) extends Product with Serializable
Represents the full path location of an element in a json. The easiest way of creating a JsPath is:
import value.Preamble._ val path = "a" / "b" / "c" val path1 = 0 / "a" / 1
- positions
keys and/or indexes a path is made up of
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsPath
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def /(path: JsPath): JsPath
- Annotations
- @inline()
- def /(key: String): JsPath
Alias for
appended
Alias for
appended
- Annotations
- @inline()
- def /(index: Int): JsPath
Alias for
appended
Alias for
appended
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def \(path: JsPath): JsPath
- Annotations
- @inline()
- def \(key: String): JsPath
Alias for
prepended
Alias for
prepended
- Annotations
- @inline()
- def \(index: Int): JsPath
Alias for
prepended
Alias for
prepended
- Annotations
- @inline()
- def appended(path: JsPath): JsPath
- def appended(name: String): JsPath
- def appended(i: Int): JsPath
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head: Position
- def inc: JsPath
- def init: JsPath
- def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last: Position
- def length: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prepended(path: JsPath): JsPath
- def prepended(key: String): JsPath
- def prepended(i: Int): JsPath
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: JsPath
- def toString(): String
- Definition Classes
- JsPath → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()