code: def _repeated_field_to_json(field, row_value):
      
      # Remove the REPEATED, but keep the other fields. This allows us to process
      # each item as if it were a top-level field.
      item_field = copy.deepcopy(field)
      item_field._mode = "NULLABLE"
      values = []
      for item in row_value:
          values.append(_field_to_json(item_field, item))
      return values
docs: Convert a repeated/array field to its JSON representation.
  
      Args:
          field ( \
              :class:`~google.cloud.bigquery.schema.SchemaField`, \
          ):
              The SchemaField to use for type conversion and field name. The
              field mode must equal ``REPEATED``.
          row_value (Sequence[any]):
              A sequence of values to convert to JSON-serializable values.
  
      Returns:
          List[any]:
              A list of JSON-serializable objects.