com.rojoma.json.zipper

JObjectZipper

trait JObjectZipper extends JsonZipper

A JsonZipper that points to a JObject.

Attributes
sealed
Linear Supertypes
JsonZipper, ZipperLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. JObjectZipper
  2. JsonZipper
  3. ZipperLike
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. type ValueType = JObject

    Definition Classes
    JObjectZipperJsonZipper

Abstract Value Members

  1. def map (f: ((String, JValue)) ⇒ JValue): JObjectZipper

    Attributes
    abstract
  2. def next : Option[JsonZipper]

    Move to the next element in the parent array.

    Move to the next element in the parent array.

    returns

    A JsonZipper pointing at the next element, or None if there is no next element or if the parent is not a JArray.

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

    Move to the previous element in the parent array.

    Move to the previous element in the parent array.

    returns

    A JsonZipper pointing at the previous element, or None if there is no previous element or if the parent is not a JArray.

    Attributes
    abstract
    Definition Classes
    ZipperLike
  4. def remove : NothingZipper

    Remove the current value from the tree.

    Remove the current value from the tree.

    returns

    A NothingZipper pointing at the hole left by removing the current value.

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

    Replace the current value with an object.

    Replace the current value with an object.

    returns

    A JsonZipper pointing at the same location but with the current value replaced.

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

    Replace the current value with an array.

    Replace the current value with an array.

    returns

    A JsonZipper pointing at the same location but with the current value replaced.

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

    Replace the current value with an atom.

    Replace the current value with an atom.

    returns

    A JsonZipper pointing at the same location but with the current value replaced.

    Attributes
    abstract
    Definition Classes
    ZipperLike
  8. def set (field: String, value: JValue): JObjectZipper

    Attributes
    abstract
  9. def sibling (field: String): Option[JsonZipper]

    Move to a different field in the parent object.

    Move to a different field in the parent object.

    returns

    A JsonZipper pointing at the new field, or None if that field does not exist or the parent is not a JObject.

    Attributes
    abstract
    Definition Classes
    ZipperLike
  10. def top : JsonZipper

    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 JsonZipper pointing at the top object.

    Attributes
    abstract
    Definition Classes
    JsonZipper
  11. def up : Option[JsonZipper]

    Move to the parent object.

    Move to the parent object.

    returns

    A JsonZipper pointing at the parent object, or None if this is the top-level object.

    Attributes
    abstract
    Definition Classes
    ZipperLike
  12. def up_! : JsonZipper

    Move to the parent object.

    Move to the parent object.

    returns

    A JsonZipper pointing at the parent object.

    Attributes
    abstract
    Definition Classes
    ZipperLike
  13. def value : ValueType

    The value stored at this location

    The value stored at this location

    Attributes
    abstract
    Definition Classes
    JsonZipper

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asArray : Option[JArrayZipper]

    Safe downcast to JArrayZipper

    Safe downcast to JArrayZipper

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

    Safe downcast to JAtomZipper

    Safe downcast to JAtomZipper

    Definition Classes
    JsonZipper
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def asObject : Option[JObjectZipper]

    Safe downcast to JObjectZipper

    Safe downcast to JObjectZipper

    Definition Classes
    JsonZipper
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def contains (f: String): Boolean

  12. def down (field: String): Option[JsonZipper]

  13. def down_! (field: String): JsonZipper

  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def next_! : JsonZipper

    Move to the next element in the parent array.

    Move to the next element in the parent array.

    returns

    A JsonZipper pointing at the next element.

    Definition Classes
    ZipperLike
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def prev_! : JsonZipper

    Move to the previous element in the parent array.

    Move to the previous element in the parent array.

    returns

    A JsonZipper pointing at the previous element.

    Definition Classes
    ZipperLike
  25. def remove (field: String): JObjectZipper

  26. def replace (newValue: JValue): JsonZipper

    Replace the current value with a new value.

    Replace the current value with a new value.

    returns

    A JsonZipper pointing at the same location but with the current value replaced.

    Definition Classes
    ZipperLike
  27. def sibling_! (field: String): JsonZipper

    Move to a different field in the parent object.

    Move to a different field in the parent object.

    returns

    A JsonZipper pointing at the new field.

    Definition Classes
    ZipperLike
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from JsonZipper

Inherited from ZipperLike

Inherited from AnyRef

Inherited from Any