This is an automated email from the ASF dual-hosted git repository.

funky-eyes pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 072c3ac213 refactor: Set the value of 
DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER to jackson (#8055)
072c3ac213 is described below

commit 072c3ac2131adfece8daef392aef31332cdba39c
Author: legendpei <[email protected]>
AuthorDate: Wed Apr 29 11:11:11 2026 +0800

    refactor: Set the value of DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER 
to jackson (#8055)
---
 changes/en-us/2.x.md                                            | 2 ++
 changes/zh-cn/2.x.md                                            | 1 +
 common/src/main/java/org/apache/seata/common/DefaultValues.java | 2 +-
 common/src/test/java/org/apache/seata/common/ConstantsTest.java | 1 +
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index fa0f8f5519..0fc495b560 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -78,6 +78,8 @@ Add changes here for all PR submitted to the 2.x branch.
 ### refactor:
 
 - [[#7957](https://github.com/apache/incubator-seata/pull/7957)] replace 
Apache HttpClient with OkHttp in NamingServer
+- [[#8055](https://github.com/apache/incubator-seata/pull/8055)] set the value 
of DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER from fastjson to jackson
+
 
 ### doc:
 
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index a939ad3293..c7140a9767 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -83,6 +83,7 @@
 ### refactor:
 
 - [[#7957](https://github.com/apache/incubator-seata/pull/7957)] 在 
NamingServer 用 OkHttp 替换 Apache HttpClient 
+- [[#8055](https://github.com/apache/incubator-seata/pull/8055)] 
将DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER的值从fastjson设置为jackson
 
 ### doc:
 
diff --git a/common/src/main/java/org/apache/seata/common/DefaultValues.java 
b/common/src/main/java/org/apache/seata/common/DefaultValues.java
index 0b1c33993c..6c65568c60 100644
--- a/common/src/main/java/org/apache/seata/common/DefaultValues.java
+++ b/common/src/main/java/org/apache/seata/common/DefaultValues.java
@@ -345,7 +345,7 @@ public interface DefaultValues {
      * The constant DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER.
      */
     // default tcc business action context json parser
-    String DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER = "fastjson";
+    String DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER = "jackson";
 
     /**
      * The constant DEFAULT_SERVER_ENABLE_CHECK_AUTH.
diff --git a/common/src/test/java/org/apache/seata/common/ConstantsTest.java 
b/common/src/test/java/org/apache/seata/common/ConstantsTest.java
index 699ab91d74..4f58fbaa20 100644
--- a/common/src/test/java/org/apache/seata/common/ConstantsTest.java
+++ b/common/src/test/java/org/apache/seata/common/ConstantsTest.java
@@ -72,6 +72,7 @@ public class ConstantsTest {
         assertEquals("jackson", Constants.JACKSON_JSON_PARSER_NAME);
         assertEquals("gson", Constants.GSON_JSON_PARSER_NAME);
         assertEquals("{\"@class\":", Constants.JACKSON_JSON_TEXT_PREFIX);
+        assertEquals("jackson", 
DefaultValues.DEFAULT_TCC_BUSINESS_ACTION_CONTEXT_JSON_PARSER);
         assertEquals("40001", Constants.DEAD_LOCK_SQL_STATE);
         assertEquals("X-SEATA-RAFT-GROUP", Constants.RAFT_GROUP_HEADER);
     }


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

Reply via email to