We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
看到多态序列化的ToJson步骤,除了1.0版本的RealTypeKey外,额外加入了一层objectKey,实际的对象序列化文本在objectKey对应的value中。 虽然可以理解是为了做多态序列化、反序列化的流程方便,但是这样会导致对象序列化后的json文本没办法在非CatJson环境下被正确反序列化解析(例如客户端ToJson后发送给服务端)
The text was updated successfully, but these errors were encountered:
此处修改主要是为了能够对其序列化格式非大括号形式的对象进行多态处理,如数字类型,字符串类型,数组类型等
而且多态处理格式并非标准Json规范的内容,因此设计时不考虑跨Json库的兼容性
Sorry, something went wrong.
好的,感谢猫大回复,我加个开关先临时处理一下~
No branches or pull requests
看到多态序列化的ToJson步骤,除了1.0版本的RealTypeKey外,额外加入了一层objectKey,实际的对象序列化文本在objectKey对应的value中。
虽然可以理解是为了做多态序列化、反序列化的流程方便,但是这样会导致对象序列化后的json文本没办法在非CatJson环境下被正确反序列化解析(例如客户端ToJson后发送给服务端)
The text was updated successfully, but these errors were encountered: