class_docstr: Dumper for json file.
docstr: Dump data to json file.
  
  Args:
      data (Dict): Data to be dumped.
docstr_tok: ["Dump","data","to","json","file",".","Args",":","data","(","Dict",")",":","Data","to","be","dumped","."]
code: def dump(self, data: Dict) -> None:
      """Dump data to json file.
  
      Args:
          data (Dict): Data to be dumped.
      """
  
      filename = f"{self.task}_{self.split}.json"
      dst_file = osp.join(self.data_root, filename)
      mmengine.dump(data, dst_file, ensure_ascii=False)
  
imports: import os.path
  from typing import Dict
  import mmengine
  from mmocr.registry import DATA_DUMPERS
  from .base import BaseDumper
label_desc: Use image node_id 1 for calling the JsonDumper obj's underlying member method code with example usage: obj.dump(data) without return types