class_docstr: model configuration
code: def to_json_file(self, json_file_path: Union[str, os.PathLike]):
      with open(json_file_path, "w", encoding="utf-8") as writer:
          writer.write(self.to_json_string())
  
file_path: DeepKE/example/llm/CPM-Bee/src/cpm_live/utils/config.py
imports: import json
  import os
  import copy
  from typing import Any, Dict, Union
  from .log import logger
label_desc: Use image node_id 4 for calling the Config obj's underlying member method code with example usage: obj.to_json_file(json_file_path) without return types