scalax.collection.io.json.descriptor
denotes the node type in a JSON text; defaults to (default)
.
list of list-json custom serializers to be invoked for node serialization, defaulting to an empty list.
list of classes referenced by this node provided they are to be (de)serialized; empty by default.
list of manifests denoting subtypes of N
which are to be
processed, defaulting to an empty list.
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.
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
.
denotes the node type in a JSON text; defaults to (default)
.
denotes the node type in a JSON text; defaults to (default)
.
Provides information on how to extract node data from a JValue and how to decompose the node to a JValue.
type of nodes described with this descriptor which either the same type or a subtype of the node type parameter of the targeted graph.