LegendPei commented on issue #7554: URL: https://github.com/apache/incubator-seata/issues/7554#issuecomment-3443281689
@xjlgod I would like to try addressing this issue. First, let me briefly outline my approach: 1. Define a JSON interface that can cover all the JSON-using scenarios currently present in Seata's Saga, TCC, and AT modules 2. Provide implementation classes for FastJSON and Jackson respectively 3. Introduce the SPI mechanism to enable users to customize the serializer 4. Provide a unified JSON utility class, whose underlying implementation can be dynamically loaded through configuration files or SPI, facilitating users to switch as needed As a new member of the community, there may be aspects that I have not fully considered, such as the need for compatibility with historical versions, performance implications, thread safety, and other issues. I warmly welcome your guidance and additions. If there are any best practices or previously discussed contexts related to these topics, please feel free to share. I will carefully consider them I look forward to contributing to this improvement. :) -- 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]
