AlbumenJ commented on code in PR #10156:
URL: https://github.com/apache/dubbo/pull/10156#discussion_r913450398


##########
dubbo-common/src/main/java/org/apache/dubbo/common/utils/JsonUtils.java:
##########
@@ -16,12 +16,11 @@
  */
 package org.apache.dubbo.common.utils;
 
-import com.google.gson.Gson;
+import org.apache.dubbo.common.json.JSON;
+import org.apache.dubbo.common.json.impl.FastJsonImpl;
 
 public class JsonUtils {
-    private static final Gson gson = new Gson();
-
-    public static Gson getGson() {
-        return gson;
+    public static JSON getJson() {

Review Comment:
   
![image](https://user-images.githubusercontent.com/9292748/177268922-8878a137-71f5-444b-926b-a5e112c4fca9.png)
   最新版本是单例的



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to