Packages

o

scalax.collection.io.json.descriptor

StringNodeDescriptor

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def decompose(node: Any): JValue
    Definition Classes
    StringNodeDescriptorNodeDescriptor
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def extract(jsonNode: JValue): String
    Definition Classes
    StringNodeDescriptorNodeDescriptor
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. implicit val formats: Formats
    Definition Classes
    NodeDescriptor
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. def id(node: Any): String

    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
    Definition Classes
    Any
  16. val manifests: List[Manifest[_]]
    Definition Classes
    NodeDescriptor
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. val typeId: String
    Definition Classes
    NodeDescriptorTypeId
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NodeDescriptor[String]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

Ungrouped