optimize: unify seata jsonParser

ahy6op9u  于 22天前  发布在  其他
关注(0)|答案(1)|浏览(16)

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可以认为是序列化实现,是不是可以直接移动到序列化模块。

bcs8qyzn

bcs8qyzn1#

I think what you said makes sense. I can try to do this job. I plan to add package: io.seata.serializer.seata.json to the module serializer/seata-serializer-seata, with unified classes JsonParser, JsonParserFactory, and JsonParserWrap. Do you think this is feasible?

我认为你说的有道理,我可以尝试来做这个工作,我打算在serializer/seata-serializer-seata中,增加package:io.seata.serializer.seata.json,统一类JsonParser、JsonParserFactory、JsonParserWrap,你觉得这样可行吗?
@wt-better@raboof@justinmclean@ke4qqq

相关问题