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