class_docstr: Class for loading json data with batches 
class_docstr_tok: ["Class","for","loading","json","data","with","batches"]
code: def _extract_files_paths(self, extension: str = ""):
      all_files = []
      path = (
          os.path.join(self.path, f"*.{extension}")
          if extension
          else self.path
      )
      for files in glob.glob(path):
          files_paths = []
          name = os.path.basename(files)
          if not name.startswith("."):
              files_paths.append(files)
  
          if files:
              all_files.extend(files_paths)
      self._load_to_meta_df(all_files, self.shuffle)
  
imports: import glob
  import json
  import os
  from abc import ABC, abstractmethod
  import pandas
label_desc: Use image node_id 3 for calling the JSONBatchLoader obj's underlying member method code with example usage: obj._extract_files_paths(extension) without return types