code: def save_json(path, obj):
      obj = json.dumps(obj)
      with tf.io.gfile.GFile(path, "w") as f:
          f.write(obj)
  
file_path: autokeras/autokeras/utils/io_utils.py
imports: import json
  import multiprocessing
  import os
  from typing import Optional
  from typing import Tuple
  import numpy
  import tensorflow
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 1 for calling a global function with example usage: save_json(path, obj) without return types