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
项目中有使用Gson的@SerializedName 注解的字段,在使用fastjson转json时不希望使用@SerializedName 注解的字段名
The text was updated successfully, but these errors were encountered:
support not use Gson Annotation, for issue #2346
4b5f799
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.48-SNAPSHOT/
请帮忙用2.0.48-SNAPSHOT验证,2.0.48正式版本预计在月末发布
在2.0.48-SNAPSHOT中,可以通过JVM启动参数关闭Gson Annoation的解析,比如:
-Dfastjson2.useGsonAnnotation=false
又或者在classpath中加上fastjson2.properties文件,并在文件里加上如下内容:
fastjson2.useGsonAnnotation=false
Sorry, something went wrong.
我这边是使用 com.alibaba fastjson 2.0.45 兼容版本有吗
https://github.com/alibaba/fastjson2/releases/tag/2.0.48 请用新版本
com.alibaba fastjson 2.0.48 也可以用这个版本
No branches or pull requests
项目中有使用Gson的@SerializedName 注解的字段,在使用fastjson转json时不希望使用@SerializedName 注解的字段名
The text was updated successfully, but these errors were encountered: