package json
Facilitates populating graphs with nodes/edges from JSON text
and exporting Graph
instances to JSON text.
See also the Graph for Scala JSON User Guide.
- Alphabetic
- By Inheritance
- json
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type Descriptor[N] = json.descriptor.Descriptor[N]
- type EdgeDescriptor[N, E[+X] <: UnDiEdge[X], +C <: EdgeCompanion[E]] = json.descriptor.EdgeDescriptor[N, E, C]
- type EdgeDescriptorBase[N, E[+X] <: EdgeLikeIn[X], +C <: EdgeCompanionBase[E]] = json.descriptor.EdgeDescriptorBase[N, E, C]
- type HyperEdgeDescriptor[N, E[+X] <: HyperEdge[X], +C <: HyperEdgeCompanion[E]] = json.descriptor.HyperEdgeDescriptor[N, E, C]
- implicit final class JsonGraph[N, E[+X] <: EdgeLikeIn[X]] extends AnyVal
- implicit final class JsonGraphCoreCompanion[+G[N, E[+X] <: EdgeLikeIn[X]] <: Graph[N, E[X]] with GraphLike[N, E[X], G]] extends AnyVal
- type LEdgeDescriptor[N, E[+X] <: UnDiEdge[X] with LEdge[X], +C <: LEdgeCompanion[E], L <: AnyRef] = json.descriptor.LEdgeDescriptor[N, E, C, L]
- type LHyperEdgeDescriptor[N, E[+X] <: LHyperEdge[X] with LEdge[X], +C <: LHyperEdgeCompanion[E], L <: AnyRef] = json.descriptor.LHyperEdgeDescriptor[N, E, C, L]
- type NodeDescriptor[N] = json.descriptor.NodeDescriptor[N]
- type WEdgeDescriptor[N, E[+X] <: UnDiEdge[X] with WEdge[X], +C <: WEdgeCompanion[E]] = json.descriptor.WEdgeDescriptor[N, E, C]
- type WHyperEdgeDescriptor[N, E[+X] <: WHyperEdge[X] with WEdge[X], +C <: WHyperEdgeCompanion[E]] = json.descriptor.WHyperEdgeDescriptor[N, E, C]
- type WLEdgeDescriptor[N, E[+X] <: UnDiEdge[X] with WLEdge[X], +C <: WLEdgeCompanion[E], L <: AnyRef] = json.descriptor.WLEdgeDescriptor[N, E, C, L]
- type WLHyperEdgeDescriptor[N, E[+X] <: WLHyperEdge[X] with WLEdge[X], +C <: WLHyperEdgeCompanion[E], L <: AnyRef] = json.descriptor.WLHyperEdgeDescriptor[N, E, C, L]
Value Members
-
def
replacePlaceholders(source: String, params: Iterable[String], maxLength: Int = 50, paramPlaceholder: String = "{}"): String
Replaces all occurrences of
paramPlaceholder
in source with the elements inparams
one by one.Replaces all occurrences of
paramPlaceholder
in source with the elements inparams
one by one. The result is guaranteed not to become longer thanmaxLength
.