-
Notifications
You must be signed in to change notification settings - Fork 519
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
@JSONField 会支持 fastjson 1.x 中 serialize 吗 #8
Comments
考虑到更好的易用性,改名JSONField.write了: import com.alibaba.fastjson2.annotation.JSONField;
public class Bean {
private String x;
@JSONField(write = false)
public String getX() {
return x;
}
public void setX(String x) {
this.x = x;
}
} |
对于fastjson 1.x的JSONField的Annotation,我会在周末发布一个新版本2.0.2支持。 |
这一点都不易用,用了这么久的serialize,deserialize 突然换名,很不方便,老项目根本没人升级用它。哪怕是个初学者用2.x,人家网上一搜,结果都是1.x的内容,这不是制造升级障碍 |
收到反馈,我想想哈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: