sofastack/sofa-hessian

GenericUtils complex type cannot be serialized correctly

Opened this issue · 1 comments

对于复杂类型,如:
{
String a,
B b,
}
当调用GenericUtils.convertToGenericObject(JSON.parseObject(""a":"123","b":{...}"))进行sofa rpc调用时报无法转换为B对象

Hi @qishua, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

For complex types, such as: {String a, B b,} When calling GenericUtils.convertToGenericObject(JSON.parseObject(""a":"123","b":{...}") ) When the sofa rpc call is made, the report cannot be converted to a B object