code: def copy(self, cursor, f):
          
  
          logger.info("Inserting file: %s", f)
          cursor.execute("""
           COPY %s from '%s'
           CREDENTIALS '%s'
           JSON AS '%s' %s
           %s
           ;""" % (self.table, f, self._credentials(),
                   self.jsonpath, self.copy_json_options, self.copy_options))
docs: Defines copying JSON from s3 into redshift.