You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/09/06 11:32:50 UTC
[GitHub] [incubator-doris] DinoZhang commented on a change in pull request #6520: [Bug] format json output
DinoZhang commented on a change in pull request #6520:
URL: https://github.com/apache/incubator-doris/pull/6520#discussion_r702829986
##########
File path: fe/fe-core/src/main/java/org/apache/doris/httpv2/HttpServer.java
##########
@@ -93,4 +101,16 @@ public void start(String dorisHome) {
.properties(properties)
.run(new String[]{});
}
+
+ @Bean
+ public Jackson2ObjectMapperBuilderCustomizer jacksonObjectMapperCustomization() {
Review comment:
1. I tested it and there is no problem
2. Because of the potential overflow problem of json numbers, these types of return values should be converted into strings
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org