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.
Lift-JSON Serializers that convert from/to unnamed JSON values and edge data containers
(parameters) covering all predefined edge types.
Lift-JSON Serializers that convert 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.
Lift-JSON Serializers that convert 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.
Serializes DiHyperEdgeParameters to a JSON object of the form
{ sources: ["<s1>",...,"<sn>"], targets: ["<t1>",...,"<tn>"] } and reversely
where <s?> and <t?> represent the the source respectively target node-Ids.
Serializes EdgeParameters to a JSON array of the form ["<n1>","<n2>"] and reversely
where <n1> and <n2> represent the node-Ids.
final classGraphSerializer[N, E <: Edge[N]] extends Serializer[AnyGraph[N, E]]
This custom serializer is to be registered whenever a class to be (de)serialized contains any Graph instances.
This custom serializer is to be registered whenever a class to be (de)serialized contains any Graph instances.
For usage see scalax.collection.io.json.serializer.TGraphSerializer.
Serializes LEdgeParameters to a JSON array of the form ["<n1>", "<n2>", ]` and reversely
where `` and `` represent the node-Ids and `` any JSON type mapping to `L`.
Serializes LHyperEdgeParameters to a JSON array of the form
[ ["<n1>",...,"<nn>"], ]` and reversely
where `...` represent the node-Ids and `` is any subtype of `JValue`.
Serializes LEdgeParameters[Double] to a JSON array of the form ["<n1>", "<n2>", <weight>] and reversely
where <n1> and <n2> represent the node-Ids and <weight> a JSON number mapping to Double.