Constructed Molecule DeJSONizer
- class ConstructedMoleculeDejsonizer[source]
Bases:
object
Abstract base class for creating constructed molecules from JSONs.
See also
Notes
You might notice that the public methods of this abstract base class are implemented. These are just default implementations, which can be safely ignored or overridden, when implementing subclasses. However, the default implementation can be used directly, if it suits your needs.
Methods
from_json
(json)Get a
ConstructedMolecule
from a JSON.- __init__()[source]
Initialize a
ConstructedMoleculeDejsonizer
instance.
- from_json(json)[source]
Get a
ConstructedMolecule
from a JSON.- Parameters
json (
dict
) – A JSON of the constructed molecule.- Returns
The constructed molecule.
- Return type