docs: public static <T> void writeListTo(Writer writer, List<T> messages, Schema<T> schema,
              boolean numeric) throws IOException
      {
          final JsonGenerator generator = DEFAULT_JSON_FACTORY.createJsonGenerator(writer);
          try
          {
              writeListTo(generator, messages, schema, numeric);
          }
          finally
          {
              generator.close();
          }
      }