Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericUtils complex type cannot be serialized correctly #61

Open
qishua opened this issue Jun 30, 2020 · 1 comment
Open

GenericUtils complex type cannot be serialized correctly #61

qishua opened this issue Jun 30, 2020 · 1 comment

Comments

@qishua
Copy link

qishua commented Jun 30, 2020

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

@sofastack-bot sofastack-bot bot changed the title GenericUtils 复杂类型无法正确序列化问题 GenericUtils complex type cannot be serialized correctly Jun 30, 2020
@sofastack-bot
Copy link

sofastack-bot bot commented Jun 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant