Packages

  • package root
    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package collection
    Definition Classes
    scalax
  • package io
    Definition Classes
    collection
  • package json

    Facilitates populating graphs with nodes/edges from JSON text and exporting Graphinstances to JSON text.

    Facilitates populating graphs with nodes/edges from JSON text and exporting Graphinstances to JSON text.

    See also the Graph for Scala JSON User Guide.

    Definition Classes
    io
  • package descriptor

    These classes serve as meta-data controlling JSON import by fromJson and export by toJson.

    These classes serve as meta-data controlling JSON import by fromJson and export by toJson. Among all, the meta-data contain identifiers based on which JSON edges will be matched to edge classes and Graph-specific serializers to be involved.

    Definition Classes
    json
  • package error

    Error/warning constants and message producing.

    Error/warning constants and message producing.

    Definition Classes
    json
  • package exp

    Export of graphs to JSON text.

    Export of graphs to JSON text.

    Definition Classes
    json
  • package imp

    Import of JSON text into graphs including the steps

    Import of JSON text into graphs including the steps

    1. parsing (extracting and checking all data from JSON texts relevant to Graph) and
    2. InputStream creation on the basis of parsing results in preparation of calling Graph.fromStream.
    Definition Classes
    json
  • package serializer

    Lift-JSON Serializers converting from/to unnamed JSON values and edge data containers (parameters) covering all predefined edge types.

    Lift-JSON Serializers converting from/to unnamed JSON values and edge data containers (parameters) covering all predefined edge types. They allow to save space as default Lift-JSON serializers would require the JSON text to contain JFields for every node and edge.

    Definition Classes
    json
  • JsonGraph
  • JsonGraphCoreCompanion
c

scalax.collection.io.json

JsonGraphCoreCompanion

implicit final class JsonGraphCoreCompanion[+G[N, E[X] <: EdgeLikeIn[X]] <: Graph[N, E[X]] with GraphLike[N, E[X], G]] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonGraphCoreCompanion
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonGraphCoreCompanion(companion: GraphCoreCompanion[G])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to any2stringadd[JsonGraphCoreCompanion[G]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JsonGraphCoreCompanion[G], B)
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to ArrowAssoc[JsonGraphCoreCompanion[G]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val companion: GraphCoreCompanion[G]
  8. def ensuring(cond: (JsonGraphCoreCompanion[G]) ⇒ Boolean, msg: ⇒ Any): JsonGraphCoreCompanion[G]
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to Ensuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (JsonGraphCoreCompanion[G]) ⇒ Boolean): JsonGraphCoreCompanion[G]
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to Ensuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): JsonGraphCoreCompanion[G]
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to Ensuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): JsonGraphCoreCompanion[G]
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to Ensuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to StringFormat[JsonGraphCoreCompanion[G]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonLists: Iterable[JsonList], descriptor: Descriptor[N])(implicit edgeT: ClassTag[E[N]], config: Config): G[N, E]

    Creates a new Graph instance and populates it with all nodes/edges found in jsonLists.

    Creates a new Graph instance and populates it with all nodes/edges found in jsonLists.

    jsonLists

    node/edge lists usually attained by parsing a JSON text

    descriptor

    $DESCR

    returns

    new Graph instance populated from jsonText

  14. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonText: String, descriptor: Descriptor[N])(implicit edgeT: ClassTag[E[N]], config: Config = companion.defaultConfig): G[N, E]

    Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.

    Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.

    jsonText

    the JSON text to be parsed for node/edge sections

    descriptor

    $DESCR

    returns

    new Graph instance populated from jsonText

  15. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonAST: JValue, descriptor: Descriptor[N])(implicit edgeT: ClassTag[E[N]], config: Config): G[N, E]

    Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.

    Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.

    jsonAST

    the JSON tree to be parsed for node/edge sections

    descriptor

    $DESCR

    returns

    new Graph instance populated from jsonAST

  16. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def toString(): String
    Definition Classes
    Any
  19. def [B](y: B): (JsonGraphCoreCompanion[G], B)
    Implicit
    This member is added by an implicit conversion from JsonGraphCoreCompanion[G] to ArrowAssoc[JsonGraphCoreCompanion[G]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from JsonGraphCoreCompanion[G] to any2stringadd[JsonGraphCoreCompanion[G]]

Inherited by implicit conversion StringFormat from JsonGraphCoreCompanion[G] to StringFormat[JsonGraphCoreCompanion[G]]

Inherited by implicit conversion Ensuring from JsonGraphCoreCompanion[G] to Ensuring[JsonGraphCoreCompanion[G]]

Inherited by implicit conversion ArrowAssoc from JsonGraphCoreCompanion[G] to ArrowAssoc[JsonGraphCoreCompanion[G]]

Ungrouped