def load_from_json(cls, json_path: str):
        """Create an instance from the content of `json_path`."""
        with open(json_path, "r", encoding="utf-8") as f:
            text = f.read()
        return cls(**json.loads(text))
Create an instance from the content of `json_path`.
dpkd/transformers/src/transformers/trainer_callback.py