@classmethod<EOL><INDENT>def load_from_file(cls, file_path: str):<DEDENT>
with open(file_path, "<STR_LIT:r>") as f:<EOL><INDENT>data = json.load(f)<EOL>item = cls.decode(data=data)<EOL><DEDENT>return item<EOL>
Read and reconstruct the data from a JSON file.