canonical_json()
The JSON of the canonical graph: to_json(canonical_form(gra)[0]).
Usage
canonical_json(gra)The value AutoStorage stores for a graph identity (P47).
>>> from protomol import from_smiles
>>> canonical_json(from_smiles("OC")) == canonical_json(from_smiles("CO"))True