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
AnyVal, NotNull, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonGraphCoreCompanion
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val companion: GraphCoreCompanion[G]

  6. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonLists: List[JsonList], descriptor: Descriptor[N])(implicit edgeT: scala.reflect.api.JavaUniverse.TypeTag[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

  7. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonText: String, descriptor: Descriptor[N])(implicit edgeT: scala.reflect.api.JavaUniverse.TypeTag[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

  8. def fromJson[N, E[X] <: EdgeLikeIn[X]](jsonAST: JValue, descriptor: Descriptor[N])(implicit edgeT: scala.reflect.api.JavaUniverse.TypeTag[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.

    jsonAST

    the JSON tree to be parsed for node/edge sections

    descriptor

    $DESCR

    returns

    new Graph instance populated from jsonAST

  9. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  11. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped