code: def find_loader(kwargs):
      """
      JSON implementation of data loader which will return a function if any of the
      `click` options based on LOADER_KEY & LOADER_PROPS have been used, otherwise return None
  
      :param kwargs: Optional keyword arguments to be passed from `click`
      :return: data loader function for JSON implementation
      """
      json_opts = get_loader_options(LOADER_KEY, LOADER_PROPS, kwargs)
      if len([f for f in json_opts.values() if f]):
  
          def _json_loader():
              json_arg_parsers = {  # TODO: add additional arg parsers
                  "parse_dates": lambda v: v.split(",") if v else None
              }
              kwargs = {
                  k: json_arg_parsers.get(k, lambda v: v)(v)
                  for k, v in json_opts.items()
              }
              return loader_func(**kwargs)
  
          return _json_loader
      return None
  
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 4 for calling a global function with example usage: find_loader(kwargs) and returns: None, _json_loader, loader_func