Cylinder.from_json
-
classmethod
Cylinder.
from_json
(filepath) Construct an object from serialised data contained in a JSON file.
- Parameters
filepath (str) – The path to the file for serialisation.
Cylinder.
from_json
(filepath)Construct an object from serialised data contained in a JSON file.
filepath (str) – The path to the file for serialisation.