apache / apache/incubator-seata

optimize: unify seata jsonParser

Open
#6,123 1 comment 0 reactions 0 assignees View on GitHub
task: help-wanted
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

## Why you need it?

The seata tcc module and the saga module each define jsonParser, and the default parsers are inconsistent. One is jackson and the other is fastjson. We should unify these into the common module.

In addition, jsonParser can be considered as a serialization implementation. Can it be moved directly to the serialization module?

seata tcc模块和saga模块都各自定义了jsonParser,并且默认的parser不一致,一个是jackson,一个是fastjson,我们应该统一这里到通用模块。

另外jsonParser可以认为是序列化实现,是不是可以直接移动到序列化模块。

Contributor guide

Open the contributing guide

Research direction

Start by locating and comparing the jsonParser definitions in the TCC and Saga modules, including their Jackson and Fastjson defaults. Then inspect the common and serialization modules to determine the appropriate destination; done means the parser has one consistent implementation and both modules use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.