Fix json in response
This commit is contained in:
@@ -39,6 +39,11 @@ public class JsonConfig implements WebMvcConfigurer {
|
||||
|
||||
httpMessageConverter.setDefaultCharset(StandardCharsets.UTF_8);
|
||||
httpMessageConverter.setObjectMapper(jacksonResponseObjectMapper());
|
||||
|
||||
int oldIndex = converters.indexOf(httpMessageConverter);
|
||||
converters.remove(oldIndex);
|
||||
|
||||
converters.add(0, httpMessageConverter);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user