code: def dump_2_json(info, path):
      with open(path, "w") as output_json_file:
          json.dump(
              info, output_json_file, ensure_ascii=False, indent=4
          )
  
file_path: DeepKE/example/llm/InstructKGC/kg2instruction/evaluate.py
imports: import sys
  import json
  import re
  import argparse
  from eval.metrics import Metric, EEMetric
  from eval.extracter import NERExtractor, REExtractor, EEExtractor, EETExtractor, EEAExtractor
label_desc: Use image node_id 3 for calling a global function with example usage: dump_2_json(info, path) without return types