Comments (7)
查看源码跟踪调试 发现 Utils->BeanUtils.java getterName 少了对应的 处理
红圈中 LowerCase 是我加上的,不知少了相关 PropertyNamingStrategy 里面的其他类型 是何意啊?
from fastjson2.
你来提交一个PR?
from fastjson2.
sorry 新手瞎鼓捣的 不太会啊 还请大佬解决呗
from fastjson2.
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/
问题已修复,请帮忙用2.0.50-SNAPSHOT版本验证
from fastjson2.
同理 他也应该出现在 setterName 中
@jsontype(naming= PropertyNamingStrategy.LowerCase)
System.out.println(json.toJavaObject(User.class));
请继续修正 @wenshao
from fastjson2.
同理 他也应该出现在 setterName 中 @jsontype(naming= PropertyNamingStrategy.LowerCase) System.out.println(json.toJavaObject(User.class));
请继续修正 @wenshao
谢谢提醒
from fastjson2.
https://github.com/alibaba/fastjson2/releases/tag/2.0.50
2.0.50已发布,请用新版本
from fastjson2.
Related Issues (20)
- [BUG] Support `@JsonSetter` annotation HOT 3
- [BUG] Support `@JsonBackReference` and `JsonManagedReference` annotations HOT 3
- java.util.ConcurrentModificationException[BUG] HOT 7
- [QUESTION]Set和数字不能反序列化
- [BUG]同时设置JSONField与JsonProperty,转字符串和字符串转对象结果不同 HOT 1
- [BUG]对象转JsonString后,时间发生变化 HOT 1
- [BUG]JSONPath的set方法添加3层嵌套下的key-value失败 HOT 4
- [BUG] @JSONType 结合 JSONWriter.Feature.WriteClassName,JSONWriter.Feature.NotWriteRootClassName 也会输出根类名。
- fastjson2如何通过JSONReader解析大json HOT 4
- [BUG] class com.alibaba.fastjson.JSONObject cannot be cast to class com.alibaba.fastjson2.JSONObject HOT 1
- class com.alibaba.fastjson.JSONObject cannot be cast to class com.alibaba.fastjson2.JSONObject[BUG] HOT 1
- [QUESTION] 关于转字符型性能不如 `jackson` 的问题 HOT 2
- [FEATURE] WriteNonStringValueAsString 不包括 boolean HOT 2
- [BUG]无法解析 $ref: @ HOT 1
- [BUG]大数解析报错 HOT 3
- [BUG]class com.alibaba.fastjson2.JSONObject cannot be cast to class com.alibaba.fastjson.JSONObject (com.alibaba.fastjson2.JSONObject and com.alibaba.fastjson.JSONObject are in unnamed module of loader 'app') HOT 1
- [Updated]++FORTNITE FREE V BUCKS GENERATOR 2024 FREE V BUCKS CODES FULL LIST UPDATES!
- ++Free V Bucks Generator Full List JUne ~FORTNITE FREE V BUCKS GENERATOR 2024 !
- [BUG] 带 filter 和 Feature 参数的 `JSON.toJSONString` 方法,指定任意filter参数 和 Feature.ReferenceDetection Feature参数,转出的 json 自引用属性后面缺少冒号“:” ,格式错误
- [BUG] JSONReader OOM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastjson2.