code: def get_parser():
      parser = argparse.ArgumentParser(
          description="merge json files",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--input-jsons",
          type=str,
          nargs="+",
          action="append",
          default=[],
          help="Json files for the inputs",
      )
      parser.add_argument(
          "--output-jsons",
          type=str,
          nargs="+",
          action="append",
          default=[],
          help="Json files for the outputs",
      )
      parser.add_argument(
          "--jsons",
          type=str,
          nargs="+",
          action="append",
          default=[],
          help="The json files except for the input and outputs",
      )
      parser.add_argument(
          "--verbose", "-V", default=0, type=int, help="Verbose option"
      )
      parser.add_argument(
          "-O", dest="output", type=str, help="Output json file"
      )
      return parser
  
file_path: espnet/utils/mergejson.py
imports: import argparse
  import codecs
  import json
  import logging
  import os
  import sys
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser