class_docstr: allows saving and restoring default values for gradio components
class_docstr_tok: ["allows","saving","and","restoring","default","values","for","gradio","components"]
code: def read_from_file(self):
      with open(self.filename, "r", encoding="utf8") as file:
          return json.load(file)
  
file_path: stable-diffusion-webui/modules/ui_loadsave.py
imports: import json
  import os
  import gradio
  from modules import errors
  from modules.ui_components import ToolButton, InputAccordion
label_desc: Use image node_id 4 for calling the UiLoadsave obj's underlying member method code with example usage: obj.read_from_file() and returns: json