JavaBean名字兼容问题
高铁 edited this page Aug 19, 2017
·
1 revision
由于历史原因,fastjson的getter/setter提取属性名没有完全按照JavaBean规范,为了兼容旧版本,一直没有修改。但是可以配置遵循JavaBean规范。
-Dfastjson.compatibleWithJavaBean=true
com.alibaba.fastjson.util.TypeUtils.compatibleWithJavaBean = true;
如有需要修改本注脚,请联系阿里巴巴,
© Alibaba Fastjson Develop Team
注明: 版权所有阿里巴巴,请注明版权所有者
If you need to amend this footnote, please contact Alibaba.
© Alibaba Fastjson Develop Team
Note: Copyright Alibaba, please indicate the copyright owner