code: def loader_func(**kwargs):
      normalize = kwargs.pop("normalize", False)
  
      def resp_handler(resp):
          return resp.json() if normalize else resp.text.decode("utf-8")
  
      path = handle_path(
          kwargs.pop("path"), kwargs, resp_handler=resp_handler
      )
      if normalize:
          normalize_func = (
              pd.json_normalize
              if is_pandas1()
              else pd.io.json.json_normalize
          )
          return normalize_func(path, **kwargs)
      return pd.read_json(
          path,
          **{
              k: v
              for k, v in kwargs.items()
              if k in loader_prop_keys(LOADER_PROPS)
          },
      )
  
file_path: dtale/dtale/cli/loaders/json_loader.py
imports: import pandas
  from pkg_resources import parse_version
  from dtale.app import show
  from dtale.cli.clickutils import get_loader_options, handle_path, loader_prop_keys
label_desc: Use image node_id 3 for calling a global function with example usage: loader_func() and returns: pd, unknown, normalize_func