class_docstr: Used to display arbitrary JSON output prettily.
  Preprocessing: this component does *not* accept input.
  Postprocessing: expects a {str} filepath to a file containing valid JSON -- or a {list} or {dict} that is valid JSON
  
  Demos: zip_to_json, blocks_xray
class_docstr_tok: ["Used","to","display","arbitrary","JSON","output","prettily",".","Preprocessing",":","this","component","does","*","not","*","accept","input",".","Postprocessing",":","expects","a","{","str","}","filepath","to","a","file","containing","valid","JSON","--","or","a","{","list","}","or","{","dict","}","that","is","valid","JSON","Demos",":","zip_to_json",",","blocks_xray"]
code: def api_info(self) -> dict[str, Any]:
      return {"type": {}, "description": "any valid json"}
  
file_path: gradio/gradio/components/json_component.py
imports: from __future__ import annotations
  import json
  from pathlib import Path
  from typing import Any, Callable
  from gradio_client.documentation import document, set_documentation_group
  from gradio.components.base import Component
  from gradio.events import Events
label_desc: Use image node_id 7 for calling the JSON obj's underlying member method code with example usage: obj.api_info() and returns: dict