docs: def read_json_file(cls, path):
          """
          Read an instance from a JSON-formatted file.
  
          :return: A new instance
          """
          with open(path, 'r') as f:
              return cls.from_dict(json.load(f))