class_docstr: 参数定义
      
class_docstr_tok: ["\u53c2\u6570\u5b9a\u4e49"]
docstr: Loads parameters from json file
docstr_tok: ["Loads","parameters","from","json","file"]
code: def load(self, json_path):
      """Loads parameters from json file"""
      with open(json_path) as f:
          params = json.load(f)
          self.__dict__.update(params)
  
file_path: DeepKE/src/deepke/triple_extraction/PRGC/util.py
imports: import logging
  import os
  import shutil
  import json
  from pathlib import Path
  import torch
label_desc: Use image node_id 2 for calling the Params obj's underlying member method code with example usage: obj.load(json_path) without return types