Trait

com.rojoma.json.v3.zipper

ZipperLike

Related Doc: package zipper

Permalink

sealed trait ZipperLike extends AnyRef

A common parent representing both com.rojoma.json.v3.zipper.JsonZippers and the com.rojoma.json.v3.zipper.NothingZippers which result from removing items from the tree of com.rojoma.json.v3.ast.JValues.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZipperLike
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

    Exceptions thrown

    NoSuchElementException if this is the top-level object.

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. 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.

    Exceptions thrown

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

  14. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  16. def path: Path

    Permalink
  17. 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.

    Exceptions thrown

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

  18. 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.

  19. 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.

    Exceptions thrown

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped