code: def clean(self):
      json_records = self.get_all_records()
      for record in json_records:
          db.session.delete(record)
      try:
          db.session.commit()
      except Exception:
          db.session.rollback()
          logger.error("cant delete records from JSON storage")
  
file_path: mindsdb/mindsdb/interfaces/storage/json.py
imports: from mindsdb.interfaces.storage import db
  from mindsdb.interfaces.storage.fs import RESOURCE_GROUP
  from mindsdb.utilities.context import context
  from mindsdb.utilities import log
label_desc: Use image node_id 12 for calling the JsonStorage obj's underlying member method code with example usage: obj.clean() without return types