Box.from_json

classmethod Box.from_json(filepath)

Construct an object from serialised data contained in a JSON file.

Parameters

filepath (str) – The path to the file for serialisation.