You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "Copilot (via GitHub)" <gi...@apache.org> on 2026/05/01 12:27:10 UTC
Re: [PR] refactor: Change the old JSON configuration items to the new ones [incubator-seata]
Copilot commented on code in PR #8067:
URL: https://github.com/apache/incubator-seata/pull/8067#discussion_r3173153436
##########
seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/java/org/apache/seata/spring/boot/autoconfigure/properties/SeataJsonProperties.java:
##########
@@ -31,13 +31,30 @@
@ConfigurationProperties(prefix = JSON_PREFIX)
public class SeataJsonProperties {
+ /**
+ * JSON serializer implementation to use for Seata JSON serialization/deserialization.
+ * Supported values include fastjson, fastjson2, jackson, and gson.
Review Comment:
The Javadoc list of supported `serializerType` values is incomplete: the codebase also supports `jackson3` (see `JsonSerializerFactory`), and the sample configs in `script/client/spring/*` list `jackson3` as an option. Please update this comment to include `jackson3` (or reference `JsonSerializerFactory`’s documented list) to avoid misleading users.
```suggestion
* Supported values include fastjson, fastjson2, jackson, jackson3, and gson.
```
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org