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