diff --git a/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java b/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java index 3206554845..acd088b3c4 100644 --- a/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java +++ b/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java @@ -285,9 +285,9 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractGener } /** - * Return the charset to use for JSON input. + * Determine the charset to use for JSON input. *

By default this is either the charset from the input {@code MediaType} - * or otherwise falling back on {@code UTF-8}. + * or otherwise falling back on {@code UTF-8}. Can be overridden in subclasses. * @param contentType the content type of the HTTP input message * @return the charset to use * @since 5.1.18