Trait/Object

com.rojoma.json.v3.zipper

JArrayZipper

Related Docs: object JArrayZipper | package zipper

Permalink

sealed trait JArrayZipper extends JsonZipper

A com.rojoma.json.v3.zipper.JsonZipper that points to a com.rojoma.json.v3.ast.JArray.

Linear Supertypes
JsonZipper, ZipperLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JArrayZipper
  2. JsonZipper
  3. ZipperLike
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ValueType = JArray

    Permalink
    Definition Classes
    JArrayZipperJsonZipper

Abstract Value Members

  1. abstract def +:(value: JValue): JArrayZipper

    Permalink
  2. abstract def :+(value: JValue): JArrayZipper

    Permalink
  3. abstract def collect(f: PartialFunction[JValue, JValue]): JArrayZipper

    Permalink
  4. abstract def map(f: (JValue) ⇒ JValue): JArrayZipper

    Permalink
  5. abstract def next: Option[JsonZipper]

    Permalink

    Move to the next element in the parent array.

    Move to the next element in the parent array.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the next element, or None if there is no next element or if the parent is not a com.rojoma.json.v3.ast.JArray.

    Definition Classes
    ZipperLike
  6. abstract def prev: Option[JsonZipper]

    Permalink

    Move to the previous element in the parent array.

    Move to the previous element in the parent array.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the previous element, or None if there is no previous element or if the parent is not a com.rojoma.json.v3.ast.JArray.

    Definition Classes
    ZipperLike
  7. abstract def remove: NothingZipper

    Permalink

    Remove the current value from the tree.

    Remove the current value from the tree.

    returns

    A com.rojoma.json.v3.zipper.NothingZipper pointing at the hole left by removing the current value.

    Definition Classes
    JsonZipper
  8. abstract def replace(newValue: JObject): JObjectZipper

    Permalink

    Replace the current value with an object.

    Replace the current value with an object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the same location but with the current value replaced.

    Definition Classes
    ZipperLike
  9. abstract def replace(newValue: JArray): JArrayZipper

    Permalink

    Replace the current value with an array.

    Replace the current value with an array.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the same location but with the current value replaced.

    Definition Classes
    ZipperLike
  10. abstract def replace(newValue: JAtom): JAtomZipper

    Permalink

    Replace the current value with an atom.

    Replace the current value with an atom.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the same location but with the current value replaced.

    Definition Classes
    ZipperLike
  11. abstract def sibling(field: String): Option[JsonZipper]

    Permalink

    Move to a different field in the parent object.

    Move to a different field in the parent object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the new field, or None if that field does not exist or the parent is not a com.rojoma.json.v3.ast.JObject.

    Definition Classes
    ZipperLike
  12. abstract def top: JsonZipper

    Permalink

    Move up the chain of parents to the top of the object.

    Move up the chain of parents to the top of the object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the top object.

    Definition Classes
    JsonZipper
  13. abstract def up: Option[JsonZipper]

    Permalink

    Move to the parent object.

    Move to the parent object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the parent object, or None if this is the top-level object.

    Definition Classes
    ZipperLike
  14. abstract def up_!: JsonZipper

    Permalink

    Move to the parent object.

    Move to the parent object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the parent object.

    Definition Classes
    ZipperLike
    Exceptions thrown

    NoSuchElementException if this is the top-level object.

  15. abstract def value: ValueType

    Permalink

    The value stored at this location

    The value stored at this location

    Definition Classes
    JsonZipper

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adjust(f: (ValueType) ⇒ JValue): JsonZipper

    Permalink
    Definition Classes
    JsonZipper
  5. def asArray: Option[JArrayZipper]

    Permalink

    Safe downcast to com.rojoma.json.v3.zipper.JArrayZipper

    Definition Classes
    JsonZipper
  6. def asAtom: Option[JAtomZipper]

    Permalink

    Safe downcast to com.rojoma.json.v3.zipper.JAtomZipper

    Definition Classes
    JsonZipper
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def asObject: Option[JObjectZipper]

    Permalink

    Safe downcast to com.rojoma.json.v3.zipper.JObjectZipper

    Definition Classes
    JsonZipper
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def down(idx: Int): Option[JsonZipper]

    Permalink
  11. def down_!(idx: Int): JsonZipper

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def first: Option[JsonZipper]

    Permalink
  16. def first_!: JsonZipper

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def isEmpty: Boolean

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def last: Option[JsonZipper]

    Permalink
  22. def last_!: JsonZipper

    Permalink
  23. def length: Int

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def next_!: JsonZipper

    Permalink

    Move to the next element in the parent array.

    Move to the next element in the parent array.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the next element.

    Definition Classes
    ZipperLike
    Exceptions thrown

    NoSuchElementException if there is no next element or if the parent is not a com.rojoma.json.v3.ast.JArray.

  26. def nonEmpty: Boolean

    Permalink
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def path: Path

    Permalink
    Definition Classes
    ZipperLike
  30. def prev_!: JsonZipper

    Permalink

    Move to the previous element in the parent array.

    Move to the previous element in the parent array.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the previous element.

    Definition Classes
    ZipperLike
    Exceptions thrown

    NoSuchElementException if there is no previous element or if the parent is not a com.rojoma.json.v3.ast.JArray.

  31. def remove(idx: Int): AnyRef

    Permalink
  32. def replace(newValue: JValue): JsonZipper

    Permalink

    Replace the current value with a new value.

    Replace the current value with a new value.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the same location but with the current value replaced.

    Definition Classes
    ZipperLike
  33. def set(idx: Int, value: JValue): JArrayZipper

    Permalink
  34. def sibling_!(field: String): JsonZipper

    Permalink

    Move to a different field in the parent object.

    Move to a different field in the parent object.

    returns

    A com.rojoma.json.v3.zipper.JsonZipper pointing at the new field.

    Definition Classes
    ZipperLike
    Exceptions thrown

    NoSuchElementException if there is no such field or if the parent is not a com.rojoma.json.v3.ast.JObject.

  35. lazy val size: Int

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonZipper

Inherited from ZipperLike

Inherited from AnyRef

Inherited from Any

Ungrouped