apache / apache/incubator-seata

Saga SpringBeanServiceInvoker cannot switch jsonParser, because it is hard code with fastjson

Open
#3,512 0 comments 0 reactions 1 assignee Claimed by @long187 View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

### Ⅰ. Issue Description
Saga SpringBeanServiceInvoker cannot switch jsonParser, because it is hard code with fastjson

### Ⅱ. Describe what happened
`io.seata.saga.engine.invoker.impl.SpringBeanServiceInvoker#toJavaObject`
```java
String jsonValue = JSON.toJSONString(value);
return JSON.parseObject(jsonValue, paramType, Feature.SupportAutoType);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.