Object

scalax.collection.io.json.descriptor

StringNodeDescriptor

Related Doc: package descriptor

Permalink

object StringNodeDescriptor extends NodeDescriptor[String]

Node descriptor extracting a String from any JValue and decomposing nodes of any type to a JString. This object serves mainly test purposes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringNodeDescriptor
  2. NodeDescriptor
  3. TypeId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 decompose(node: Any): JValue

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def extract(jsonNode: JValue): String

    Permalink
    Definition Classes
    StringNodeDescriptorNodeDescriptor
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. implicit val formats: Formats

    Permalink
    Definition Classes
    NodeDescriptor
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def id(node: Any): String

    Permalink

    Enables Graph for Scala JSON export/import to handle node references in JSON edge entries.

    Enables Graph for Scala JSON export/import to handle node references in JSON edge entries. Without establishing such references, JSON edge entries would have to contain all node data what would make JSON texts representing graphs explode in length.

    Please exercise great care when designing the id method to return unique keys.

    node

    a node of type N for which its unique id is to be returned. You can safely match node to the actual type argument N.

    Definition Classes
    StringNodeDescriptorNodeDescriptor
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val manifests: List[Manifest[_]]

    Permalink
    Definition Classes
    NodeDescriptor
  17. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. val typeId: String

    Permalink

    denotes the node type in a JSON text; defaults to (default).

    denotes the node type in a JSON text; defaults to (default).

    Definition Classes
    NodeDescriptorTypeId
  23. final def wait(): Unit

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

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

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

Inherited from NodeDescriptor[String]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

Ungrouped