stk.ConstructedMoleculeDejsonizer
- class stk.ConstructedMoleculeDejsonizer[source]
Bases:
objectAbstract 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
Get a
ConstructedMoleculefrom a JSON.- from_json(json)[source]
Get a
ConstructedMoleculefrom a JSON.- Parameters:
json (dict) – A JSON of the constructed molecule.
- Returns:
The constructed molecule.
- Return type: