JSON and NDJSON
JSON helpers from annnet.io.json_format.
annnet.io.json_format
Classes
Functions
to_json
Node-link JSON with x-extensions (slices, edge_slices, hyperedges).
Lossless vs your core (IDs, attrs, parallel, hyperedges, slices).
from_json
Load AnnNet from node-link JSON + x-extensions (lossless wrt schema above).