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

1.2.71版本升级导致json的key变的大小写敏感 #3312

Closed
colin-lee opened this issue Jun 29, 2020 · 3 comments
Closed

1.2.71版本升级导致json的key变的大小写敏感 #3312

colin-lee opened this issue Jun 29, 2020 · 3 comments
Labels
Milestone

Comments

@colin-lee
Copy link

#3246 这次修改有bug。
image
image

定义javabean: @JSONField(name="NPath") String name;
原本json的 {"npath": "xxxxx.jpg"} 是可以反解析的。

这次升级后就导致无法解析了

ZivYan added a commit to ZivYan/fastjson that referenced this issue Jun 30, 2020
ZivYan added a commit to ZivYan/fastjson that referenced this issue Jun 30, 2020
wenshao added a commit that referenced this issue Jul 4, 2020
bug fixed for smartMatchField, #3312
@wenshao wenshao added this to the 1.2.73 milestone Jul 5, 2020
@wenshao wenshao added the bug label Jul 5, 2020
@wenshao
Copy link
Member

wenshao commented Jul 26, 2020

https://github.com/alibaba/fastjson/releases/tag/1.2.73
问题修复,请用新版本

@wenshao wenshao closed this as completed Jul 26, 2020
@brucelwl
Copy link

@wenshao 我觉得既然通过@JSONField(name="NPath")指定了具体json key, 区分大小写是合理的

@ListenBom
Copy link

我也认为既然指定了具体的jsonKey,区分大小写应该是对的

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

No branches or pull requests

4 participants