Trait/Object

com.rojoma.json.v3.ast

JCompound

Related Docs: object JCompound | package ast

Permalink

sealed trait JCompound extends JValue

The common superclass of arrays and objects. This and com.rojoma.json.v3.ast.JAtom form a partition of the set of valid com.rojoma.json.v3.ast.JValues.

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

Abstract Value Members

  1. abstract def forced: JCompound

    Permalink

    Forces this com.rojoma.json.v3.ast.JValue to be fully evaluated.

    Forces this com.rojoma.json.v3.ast.JValue to be fully evaluated. In particular, the compound com.rojoma.json.v3.codec.JsonEncodes will produce views of their inputs instead of fully-evaluated com.rojoma.json.v3.ast.JValues. This can be problematic if the underlying structure can be mutated before this object is used, or if this object is passed to another thread.

    What is or is not copied is not defined; the only postcondition is that there are no lazy values left in the returned tree.

    returns

    An equal com.rojoma.json.v3.ast.JValue with strict values.

    Definition Classes
    JCompoundJValue
  2. abstract def jsonType: JsonType

    Permalink
    Definition Classes
    JValue
  3. abstract def size: Int

    Permalink

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. def dyn: InformationalDynamicJValue

    Permalink

    Produces a dynamically typed view of this JValue which can be descended using dot-notation for field names or apply-type syntax for arrays.

    Produces a dynamically typed view of this JValue which can be descended using dot-notation for field names or apply-type syntax for arrays. It can be turned back into a JValue with the ! or ? methods.

    Note that certain field-names (the names common to all Objects plus apply, applyDynamic, and selectDynamic cannot be accessed with simple field-notation. Instead, pass them as strings to the apply method.

    Definition Classes
    JValue
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def dynamic: DynamicJValue

    Permalink

    Produces a dynamically typed view of this JValue which can be descended using dot-notation for field names or apply-type syntax for arrays.

    Produces a dynamically typed view of this JValue which can be descended using dot-notation for field names or apply-type syntax for arrays. It can be turned back into a JValue with the ! or ? methods.

    Note that certain field-names (the names common to all objects plus apply, applyDynamic, and selectDynamic cannot be accessed with simple field-notation. Instead, pass them as strings to the apply method.

    Definition Classes
    JValue
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.1) Prefer dyn

Inherited from JValue

Inherited from AnyRef

Inherited from Any

Ungrouped