You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
The text was updated successfully, but these errors were encountered:
moqimoqidea
changed the title
【bug】1.62+ 版本,添加属性 Feature.InitStringFieldAsEmpty 解析结果错误
【bug】1.66 版本,添加属性 Feature.InitStringFieldAsEmpty 解析结果错误
Mar 5, 2020
moqimoqidea
changed the title
【bug】1.66 版本,添加属性 Feature.InitStringFieldAsEmpty 解析结果错误
【bug】1.2.66 版本,添加属性 Feature.InitStringFieldAsEmpty 解析结果错误
Mar 5, 2020
解析结果(62 和 66 版本):
可完整复现的代码:
因为 name 在 class 中设置为 String 字段,实际上传递过来为数字,且添加了 Feature.InitStringFieldAsEmpty 属性,导致所有 String 字段解析为空字符串。相关代码在 1.2.7 下正常工作。
1.2.7 结果:
由于 JSON 类解析做兼容的缘故,设定所有字段为字符串类型,且引发了此 JSON 解析行为。
The text was updated successfully, but these errors were encountered: