@Deprecated
    public GsonGrpcJsonMarshallerBuilder jsonParserCustomizer(
            Consumer<? super JsonFormat.Parser> jsonParserCustomizer) {
        if (!loggedJsonParserCustomizerWarning) {
            logger.warn("{}.jsonParserCustomizer(Consumer) does not work as expected, " +
                        "use jsonParserCustomizer(Function).",
                        getClass().getSimpleName());
            loggedJsonParserCustomizerWarning = true;
        }
        requireNonNull(jsonParserCustomizer, "jsonParserCustomizer");
        if (this.jsonParserCustomizer == null) {
            @SuppressWarnings("unchecked")
            final Consumer<JsonFormat.Parser> cast = (Consumer<JsonFormat.Parser>) jsonParserCustomizer;
            this.jsonParserCustomizer = parser -> {
                cast.accept(parser);
                return parser;
            };
        } else {
            this.jsonParserCustomizer = this.jsonParserCustomizer.andThen(parser -> {
                jsonParserCustomizer.accept(parser);
                return parser;
            });
        }
        return this;
    }
Adds a {@link Consumer} that can customize the {@link JsonFormat.Parser}
used when deserializing a JSON payload into a {@link Message}.

@deprecated {@link JsonFormat.Parser} is immutable so all changes applied in the {@link Consumer}
    will be lost. Please use the {@link #jsonParserCustomizer(Function) jsonParserCustomizer}
    which accepts {@link Function} parameter instead.
grpc/src/main/java/com/linecorp/armeria/common/grpc/GsonGrpcJsonMarshallerBuilder.java